summaryrefslogtreecommitdiffstats
path: root/src/test/ui/conditional-compilation/cfg_accessible-bugs.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/conditional-compilation/cfg_accessible-bugs.stderr')
-rw-r--r--src/test/ui/conditional-compilation/cfg_accessible-bugs.stderr16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/test/ui/conditional-compilation/cfg_accessible-bugs.stderr b/src/test/ui/conditional-compilation/cfg_accessible-bugs.stderr
new file mode 100644
index 000000000..81f023878
--- /dev/null
+++ b/src/test/ui/conditional-compilation/cfg_accessible-bugs.stderr
@@ -0,0 +1,16 @@
+error: not sure whether the path is accessible or not
+ --> $DIR/cfg_accessible-bugs.rs:15:18
+ |
+LL | #[cfg_accessible(TraitAlias::unresolved)]
+ | ^^^^^^^^^^^^^^^^^^^^^^
+ |
+ = note: the type may have associated items, but we are currently not checking them
+
+error: cannot determine whether the path is accessible or not
+ --> $DIR/cfg_accessible-bugs.rs:11:1
+ |
+LL | #[cfg_accessible(unresolved)]
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+error: aborting due to 2 previous errors
+