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.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/pin_project/remove-attr-from-field.stderr b/tests/ui/pin_project/remove-attr-from-field.stderr
index 697cd63..f693261 100644
--- a/tests/ui/pin_project/remove-attr-from-field.stderr
+++ b/tests/ui/pin_project/remove-attr-from-field.stderr
@@ -2,7 +2,7 @@ error[E0308]: mismatched types
--> tests/ui/pin_project/remove-attr-from-field.rs:28:38
|
28 | let _: Pin<&mut PhantomPinned> = x.f; //~ ERROR E0308
- | ----------------------- ^^^ expected struct `Pin`, found `&mut PhantomPinned`
+ | ----------------------- ^^^ expected `Pin<&mut PhantomPinned>`, found `&mut PhantomPinned`
| |
| expected due to this
|
@@ -13,7 +13,7 @@ error[E0308]: mismatched types
--> tests/ui/pin_project/remove-attr-from-field.rs:32:38
|
32 | let _: Pin<&mut PhantomPinned> = x.f; //~ ERROR E0308
- | ----------------------- ^^^ expected struct `Pin`, found `&mut PhantomPinned`
+ | ----------------------- ^^^ expected `Pin<&mut PhantomPinned>`, found `&mut PhantomPinned`
| |
| expected due to this
|