aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/pin_project/remove-attr-from-field.stderr
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2021-05-27 17:00:46 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-05-27 17:00:46 +0000
commit5dbc7a39961945cd9d065d0a9fdc25711376574f (patch)
treea2808291a9d00789d7f23e0e6bc9e133aace307a /tests/ui/pin_project/remove-attr-from-field.stderr
parent3a092f9e543f72e7ee1abc39a7cf49d8d96b25fe (diff)
parenta5c0a13309164da22025014778cf4d794aec96a6 (diff)
downloadpin-project-5dbc7a39961945cd9d065d0a9fdc25711376574f.tar.gz
Upgrade rust/crates/pin-project to 1.0.7 am: c95dc51644 am: b845c5fd84 am: fcb335e6ca am: a5c0a13309
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/pin-project/+/1713049 Change-Id: Ie859a9fc877c4ed769bf408a396e775cb361898b
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