summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/include-single-expr.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/macros/include-single-expr.stderr')
-rw-r--r--tests/ui/macros/include-single-expr.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/macros/include-single-expr.stderr b/tests/ui/macros/include-single-expr.stderr
new file mode 100644
index 000000000..80eecf8f1
--- /dev/null
+++ b/tests/ui/macros/include-single-expr.stderr
@@ -0,0 +1,10 @@
+error: include macro expected single expression in source
+ --> $DIR/include-single-expr-helper.rs:4:1
+ |
+LL | 10
+ | ^^
+ |
+ = note: `#[deny(incomplete_include)]` on by default
+
+error: aborting due to previous error
+