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.stderr8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/ui/pin_project/remove-attr-from-field.stderr b/tests/ui/pin_project/remove-attr-from-field.stderr
index 5d8caac..486bc00 100644
--- a/tests/ui/pin_project/remove-attr-from-field.stderr
+++ b/tests/ui/pin_project/remove-attr-from-field.stderr
@@ -1,7 +1,7 @@
error[E0308]: mismatched types
- --> $DIR/remove-attr-from-field.rs:27:38
+ --> $DIR/remove-attr-from-field.rs:28:38
|
-27 | let _: Pin<&mut PhantomPinned> = x.f; //~ ERROR E0308
+28 | let _: Pin<&mut PhantomPinned> = x.f; //~ ERROR E0308
| ----------------------- ^^^ expected struct `Pin`, found `&mut PhantomPinned`
| |
| expected due to this
@@ -10,9 +10,9 @@ error[E0308]: mismatched types
found mutable reference `&mut PhantomPinned`
error[E0308]: mismatched types
- --> $DIR/remove-attr-from-field.rs:31:38
+ --> $DIR/remove-attr-from-field.rs:32:38
|
-31 | let _: Pin<&mut PhantomPinned> = x.f; //~ ERROR E0308
+32 | let _: Pin<&mut PhantomPinned> = x.f; //~ ERROR E0308
| ----------------------- ^^^ expected struct `Pin`, found `&mut PhantomPinned`
| |
| expected due to this