about summary refs log tree commit diff
path: root/tests/ui/nested-cfg-attrs.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/nested-cfg-attrs.stderr')
-rw-r--r--tests/ui/nested-cfg-attrs.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/nested-cfg-attrs.stderr b/tests/ui/nested-cfg-attrs.stderr
new file mode 100644
index 00000000000..f63888b2f8a
--- /dev/null
+++ b/tests/ui/nested-cfg-attrs.stderr
@@ -0,0 +1,9 @@
+error[E0425]: cannot find function `f` in this scope
+  --> $DIR/nested-cfg-attrs.rs:4:13
+   |
+LL | fn main() { f() }
+   |             ^ not found in this scope
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0425`.