diff options
Diffstat (limited to 'tests/ui/unknown-language-item.stderr')
-rw-r--r-- | tests/ui/unknown-language-item.stderr | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/unknown-language-item.stderr b/tests/ui/unknown-language-item.stderr new file mode 100644 index 000000000..c5fe9b8ad --- /dev/null +++ b/tests/ui/unknown-language-item.stderr @@ -0,0 +1,9 @@ +error[E0522]: definition of an unknown language item: `foo` + --> $DIR/unknown-language-item.rs:4:1 + | +LL | #[lang = "foo"] + | ^^^^^^^^^^^^^^^ definition of unknown language item `foo` + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0522`. |