diff options
Diffstat (limited to 'tests/ui/cfg/cfg_attr-resolve.stderr')
-rw-r--r-- | tests/ui/cfg/cfg_attr-resolve.stderr | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ui/cfg/cfg_attr-resolve.stderr b/tests/ui/cfg/cfg_attr-resolve.stderr index ee1fa03..12bcc67 100644 --- a/tests/ui/cfg/cfg_attr-resolve.stderr +++ b/tests/ui/cfg/cfg_attr-resolve.stderr @@ -1,5 +1,5 @@ error[E0599]: no method named `project` found for struct `Pin<&mut Foo<u8>>` in the current scope - --> $DIR/cfg_attr-resolve.rs:10:31 + --> $DIR/cfg_attr-resolve.rs:10:30 | -10 | let _x = Pin::new(&mut x).project(); //~ ERROR E0599 - | ^^^^^^^ method not found in `Pin<&mut Foo<u8>>` +10 | let _ = Pin::new(&mut x).project(); //~ ERROR E0599 + | ^^^^^^^ method not found in `Pin<&mut Foo<u8>>` |