summaryrefslogtreecommitdiffstats
path: root/tests/ui/methods/method-not-found-generic-arg-elision.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/methods/method-not-found-generic-arg-elision.stderr')
-rw-r--r--tests/ui/methods/method-not-found-generic-arg-elision.stderr6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ui/methods/method-not-found-generic-arg-elision.stderr b/tests/ui/methods/method-not-found-generic-arg-elision.stderr
index f3db56d1d..b97688d38 100644
--- a/tests/ui/methods/method-not-found-generic-arg-elision.stderr
+++ b/tests/ui/methods/method-not-found-generic-arg-elision.stderr
@@ -20,10 +20,10 @@ LL | let d = point_i32.other();
| ^^^^^ method not found in `Point<i32>`
error[E0599]: no method named `extend` found for struct `Map` in the current scope
- --> $DIR/method-not-found-generic-arg-elision.rs:87:29
+ --> $DIR/method-not-found-generic-arg-elision.rs:87:67
|
-LL | v.iter().map(|x| x * x).extend(std::iter::once(100));
- | ^^^^^^ method not found in `Map<Iter<'_, i32>, [closure@method-not-found-generic-arg-elision.rs:87:18]>`
+LL | v.iter().map(Box::new(|x| x * x) as Box<dyn Fn(&i32) -> i32>).extend(std::iter::once(100));
+ | ^^^^^^ method not found in `Map<Iter<'_, i32>, Box<dyn Fn(&i32) -> i32>>`
error[E0599]: no method named `method` found for struct `Wrapper<bool>` in the current scope
--> $DIR/method-not-found-generic-arg-elision.rs:90:13