Skip to content

Commit ec5321c

Browse files
committed
Fix rebase breakage
1 parent e8987d8 commit ec5321c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/scala/CanThrow.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import annotation.{implicitNotFound, experimental, capability}
88
*/
99
@experimental
1010
@implicitNotFound("The capability to throw exception ${E} is missing.\nThe capability can be provided by one of the following:\n - Adding a using clause `(using CanThrow[${E}])` to the definition of the enclosing method\n - Adding `throws ${E}` clause after the result type of the enclosing method\n - Wrapping this piece of code with a `try` block that catches ${E}")
11-
erased class CanThrow[-E <: Exception] extends caps.Control
11+
class CanThrow[-E <: Exception] extends caps.Control, compiletime.Erased
1212

1313
@experimental
1414
object unsafeExceptions:

0 commit comments

Comments
 (0)