aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/cfg/cfg_attr-resolve.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/cfg/cfg_attr-resolve.stderr')
-rw-r--r--tests/ui/cfg/cfg_attr-resolve.stderr5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/cfg/cfg_attr-resolve.stderr b/tests/ui/cfg/cfg_attr-resolve.stderr
new file mode 100644
index 0000000..45af3ae
--- /dev/null
+++ b/tests/ui/cfg/cfg_attr-resolve.stderr
@@ -0,0 +1,5 @@
+error[E0599]: no method named `project` found for struct `std::pin::Pin<&mut Foo<u8>>` in the current scope
+ --> $DIR/cfg_attr-resolve.rs:10:31
+ |
+10 | let _x = Pin::new(&mut x).project(); //~ ERROR E0599
+ | ^^^^^^^ method not found in `std::pin::Pin<&mut Foo<u8>>`