Debian Codegraph @

third_party/rust/pin-project/tests/ui/pin_project/remove-attr-from-field.stderr

raw
1 error[E0308]: mismatched types
2 --> tests/ui/pin_project/remove-attr-from-field.rs:28:38
3 |
4 28 | let _: Pin<&mut PhantomPinned> = x.f; //~ ERROR E0308
5 | ----------------------- ^^^ expected `Pin<&mut PhantomPinned>`, found `&mut PhantomPinned`
6 | |
7 | expected due to this
8 |
9 = note: expected struct `Pin<&mut PhantomPinned>`
10 found mutable reference `&mut PhantomPinned`
11
12 error[E0308]: mismatched types
13 --> tests/ui/pin_project/remove-attr-from-field.rs:32:38
14 |
15 32 | let _: Pin<&mut PhantomPinned> = x.f; //~ ERROR E0308
16 | ----------------------- ^^^ expected `Pin<&mut PhantomPinned>`, found `&mut PhantomPinned`
17 | |
18 | expected due to this
19 |
20 = note: expected struct `Pin<&mut PhantomPinned>`
21 found mutable reference `&mut PhantomPinned`