summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-20225.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/issues/issue-20225.stderr')
-rw-r--r--tests/ui/issues/issue-20225.stderr12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/ui/issues/issue-20225.stderr b/tests/ui/issues/issue-20225.stderr
index b34aa8e1f..2d24a5bbd 100644
--- a/tests/ui/issues/issue-20225.stderr
+++ b/tests/ui/issues/issue-20225.stderr
@@ -9,8 +9,8 @@ LL | extern "rust-call" fn call(&self, (_,): (T,)) {}
| expected `&'a T`, found type parameter `T`
| help: change the parameter type to match the trait: `(&'a T,)`
|
- = note: expected signature `extern "rust-call" fn(&Foo, (&'a T,))`
- found signature `extern "rust-call" fn(&Foo, (T,))`
+ = note: expected signature `extern "rust-call" fn(&Foo, (&'a _,))`
+ found signature `extern "rust-call" fn(&Foo, (_,))`
error[E0053]: method `call_mut` has an incompatible type for trait
--> $DIR/issue-20225.rs:11:51
@@ -23,8 +23,8 @@ LL | extern "rust-call" fn call_mut(&mut self, (_,): (T,)) {}
| expected `&'a T`, found type parameter `T`
| help: change the parameter type to match the trait: `(&'a T,)`
|
- = note: expected signature `extern "rust-call" fn(&mut Foo, (&'a T,))`
- found signature `extern "rust-call" fn(&mut Foo, (T,))`
+ = note: expected signature `extern "rust-call" fn(&mut Foo, (&'a _,))`
+ found signature `extern "rust-call" fn(&mut Foo, (_,))`
error[E0053]: method `call_once` has an incompatible type for trait
--> $DIR/issue-20225.rs:18:47
@@ -38,8 +38,8 @@ LL | extern "rust-call" fn call_once(self, (_,): (T,)) {}
| expected `&'a T`, found type parameter `T`
| help: change the parameter type to match the trait: `(&'a T,)`
|
- = note: expected signature `extern "rust-call" fn(Foo, (&'a T,))`
- found signature `extern "rust-call" fn(Foo, (T,))`
+ = note: expected signature `extern "rust-call" fn(Foo, (&'a _,))`
+ found signature `extern "rust-call" fn(Foo, (_,))`
error: aborting due to 3 previous errors