summaryrefslogtreecommitdiffstats
path: root/third_party/rust/pin-project/tests/ui/project/use.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/pin-project/tests/ui/project/use.stderr')
-rw-r--r--third_party/rust/pin-project/tests/ui/project/use.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/third_party/rust/pin-project/tests/ui/project/use.stderr b/third_party/rust/pin-project/tests/ui/project/use.stderr
new file mode 100644
index 0000000000..07d024160b
--- /dev/null
+++ b/third_party/rust/pin-project/tests/ui/project/use.stderr
@@ -0,0 +1,11 @@
+error: #[project] attribute may not be used on renamed imports
+ --> $DIR/use.rs:12:16
+ |
+12 | use crate::A as B; //~ ERROR #[project] attribute may not be used on renamed imports
+ | ^^^^^^
+
+error: #[project] attribute may not be used on glob imports
+ --> $DIR/use.rs:14:16
+ |
+14 | use crate::*; //~ ERROR #[project] attribute may not be used on glob imports
+ | ^