aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/pinned_drop/self.stderr
diff options
context:
space:
mode:
authorDavid LeGare <legare@google.com>2022-03-02 20:59:51 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-03-02 20:59:51 +0000
commitac81d17ea0cce1b865bbecae5677eeef7b1703e4 (patch)
tree80c46c7f97eb0158db00b2c4710dd54073c36733 /tests/ui/pinned_drop/self.stderr
parent23cdec702c0235804c847247f16c7bc73f9d9fce (diff)
parent8915193b0de5f14b58aea0cd7bd72a6083529dc2 (diff)
downloadpin-project-ac81d17ea0cce1b865bbecae5677eeef7b1703e4.tar.gz
Update pin-project to 1.0.10 am: 8915193b0d
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/pin-project/+/2005953 Change-Id: I3c1379108ed7a86c8c877b70d6c1d516280db2e5
Diffstat (limited to 'tests/ui/pinned_drop/self.stderr')
-rw-r--r--tests/ui/pinned_drop/self.stderr16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/ui/pinned_drop/self.stderr b/tests/ui/pinned_drop/self.stderr
index 7de286f..0f96dc9 100644
--- a/tests/ui/pinned_drop/self.stderr
+++ b/tests/ui/pinned_drop/self.stderr
@@ -1,29 +1,29 @@
error: `self` parameter is only allowed in associated functions
- --> $DIR/self.rs:18:26
+ --> tests/ui/pinned_drop/self.rs:18:26
|
18 | fn f(self: ()) {} //~ ERROR `self` parameter is only allowed in associated functions
| ^^^^ not semantically valid as function parameter
...
21 | t!();
- | ----- in this macro invocation
+ | ---- in this macro invocation
|
= note: associated functions are those in `impl` or `trait` definitions
= note: this error originates in the macro `t` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0434]: can't capture dynamic environment in a fn item
- --> $DIR/self.rs:16:29
+ --> tests/ui/pinned_drop/self.rs:16:29
|
16 | let _ = self; //~ ERROR E0434
| ^^^^
...
21 | t!();
- | ----- in this macro invocation
+ | ---- in this macro invocation
|
= help: use the `|| { ... }` closure form instead
= note: this error originates in the macro `t` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0423]: expected value, found struct `S`
- --> $DIR/self.rs:40:27
+ --> tests/ui/pinned_drop/self.rs:40:27
|
32 | / pub struct S {
33 | | f: (),
@@ -34,7 +34,7 @@ error[E0423]: expected value, found struct `S`
| ^^^^ help: use struct literal syntax instead: `S { f: val }`
error[E0308]: mismatched types
- --> $DIR/self.rs:39:25
+ --> tests/ui/pinned_drop/self.rs:39:25
|
39 | let _: () = self; //~ ERROR E0308
| -- ^^^^ expected `()`, found struct `Pin`
@@ -45,7 +45,7 @@ error[E0308]: mismatched types
found struct `Pin<&mut self_span::S>`
error[E0308]: mismatched types
- --> $DIR/self.rs:52:25
+ --> tests/ui/pinned_drop/self.rs:52:25
|
52 | let _: () = self; //~ ERROR E0308
| -- ^^^^ expected `()`, found struct `Pin`
@@ -56,7 +56,7 @@ error[E0308]: mismatched types
found struct `Pin<&mut E>`
error[E0533]: expected unit struct, unit variant or constant, found struct variant `Self::V`
- --> $DIR/self.rs:53:27
+ --> tests/ui/pinned_drop/self.rs:53:27
|
53 | let _: Self = Self::V; //~ ERROR E0533
| ^^^^^^^