summaryrefslogtreecommitdiffstats
path: root/tests/ui/imports/import-crate-var.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/imports/import-crate-var.stderr')
-rw-r--r--tests/ui/imports/import-crate-var.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/imports/import-crate-var.stderr b/tests/ui/imports/import-crate-var.stderr
new file mode 100644
index 000000000..f1f1dfbdb
--- /dev/null
+++ b/tests/ui/imports/import-crate-var.stderr
@@ -0,0 +1,10 @@
+error: `$crate` may not be imported
+ --> $DIR/import-crate-var.rs:6:5
+ |
+LL | m!();
+ | ^^^^
+ |
+ = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)
+
+error: aborting due to previous error
+