Skip to content

Commit 3d8206d

Browse files
Update docs/docs/reference/metaprogramming/inline.md
Co-Authored-By: Nicolas Stucki <[email protected]>
1 parent 03410c6 commit 3d8206d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/metaprogramming/inline.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ If an inline expansion results in a call `error(msgStr)` the compiler
394394
produces an error message containing the given `msgStr`.
395395

396396
```scala
397-
import scala.compiletime.error
397+
import scala.compiletime.{error, code}
398398

399399
inline def fail() = {
400400
error("failed for a reason")

0 commit comments

Comments
 (0)