We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03410c6 commit 3d8206dCopy full SHA for 3d8206d
docs/docs/reference/metaprogramming/inline.md
@@ -394,7 +394,7 @@ If an inline expansion results in a call `error(msgStr)` the compiler
394
produces an error message containing the given `msgStr`.
395
396
```scala
397
-import scala.compiletime.error
+import scala.compiletime.{error, code}
398
399
inline def fail() = {
400
error("failed for a reason")
0 commit comments