aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/pin_project/remove-attr-from-field.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/pin_project/remove-attr-from-field.stderr')
-rw-r--r--tests/ui/pin_project/remove-attr-from-field.stderr16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/ui/pin_project/remove-attr-from-field.stderr b/tests/ui/pin_project/remove-attr-from-field.stderr
index 15195e7..5d8caac 100644
--- a/tests/ui/pin_project/remove-attr-from-field.stderr
+++ b/tests/ui/pin_project/remove-attr-from-field.stderr
@@ -1,21 +1,21 @@
error[E0308]: mismatched types
--> $DIR/remove-attr-from-field.rs:27:38
|
-27 | let _: Pin<&mut PhantomPinned> = x.field; //~ ERROR E0308
- | ----------------------- ^^^^^^^ expected struct `std::pin::Pin`, found `&mut std::marker::PhantomPinned`
+27 | let _: Pin<&mut PhantomPinned> = x.f; //~ ERROR E0308
+ | ----------------------- ^^^ expected struct `Pin`, found `&mut PhantomPinned`
| |
| expected due to this
|
- = note: expected struct `std::pin::Pin<&mut std::marker::PhantomPinned>`
- found mutable reference `&mut std::marker::PhantomPinned`
+ = note: expected struct `Pin<&mut PhantomPinned>`
+ found mutable reference `&mut PhantomPinned`
error[E0308]: mismatched types
--> $DIR/remove-attr-from-field.rs:31:38
|
-31 | let _: Pin<&mut PhantomPinned> = x.field; //~ ERROR E0308
- | ----------------------- ^^^^^^^ expected struct `std::pin::Pin`, found `&mut std::marker::PhantomPinned`
+31 | let _: Pin<&mut PhantomPinned> = x.f; //~ ERROR E0308
+ | ----------------------- ^^^ expected struct `Pin`, found `&mut PhantomPinned`
| |
| expected due to this
|
- = note: expected struct `std::pin::Pin<&mut std::marker::PhantomPinned>`
- found mutable reference `&mut std::marker::PhantomPinned`
+ = note: expected struct `Pin<&mut PhantomPinned>`
+ found mutable reference `&mut PhantomPinned`