aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/pinned_drop/self.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/pinned_drop/self.stderr')
-rw-r--r--tests/ui/pinned_drop/self.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/pinned_drop/self.stderr b/tests/ui/pinned_drop/self.stderr
index 4ccbc41..7de286f 100644
--- a/tests/ui/pinned_drop/self.stderr
+++ b/tests/ui/pinned_drop/self.stderr
@@ -8,7 +8,7 @@ error: `self` parameter is only allowed in associated functions
| ----- in this macro invocation
|
= note: associated functions are those in `impl` or `trait` definitions
- = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
+ = 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
@@ -20,7 +20,7 @@ error[E0434]: can't capture dynamic environment in a fn item
| ----- in this macro invocation
|
= help: use the `|| { ... }` closure form instead
- = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
+ = 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