about summary refs log tree commit diff
path: root/src/test/ui/traits
diff options
context:
space:
mode:
authorb-naber <bn263@gmx.de>2022-09-21 17:57:30 +0200
committerb-naber <bn263@gmx.de>2022-09-26 14:21:39 +0200
commit6118ee343f5ebbea657337a5dceb9ded40fde117 (patch)
tree16f672a21368664e47a06623f3f370bf78223021 /src/test/ui/traits
parent897adb866665997fe8dfb66dc338faba9671577a (diff)
address review
Diffstat (limited to 'src/test/ui/traits')
-rw-r--r--src/test/ui/traits/associated_type_bound/check-trait-object-bounds-2.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/traits/associated_type_bound/check-trait-object-bounds-2.stderr b/src/test/ui/traits/associated_type_bound/check-trait-object-bounds-2.stderr
index 4084f69a6f0..10e82c54e0f 100644
--- a/src/test/ui/traits/associated_type_bound/check-trait-object-bounds-2.stderr
+++ b/src/test/ui/traits/associated_type_bound/check-trait-object-bounds-2.stderr
@@ -4,7 +4,7 @@ error[E0277]: expected a `FnOnce<(&i32,)>` closure, found `i32`
 LL |     f::<dyn for<'x> X<'x, F = i32>>();
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `FnOnce<(&i32,)>` closure, found `i32`
    |
-   = help: the trait `for<'r> FnOnce<(&'r i32,)>` is not implemented for `i32`
+   = help: the trait `for<'a> FnOnce<(&'a i32,)>` is not implemented for `i32`
 note: required by a bound in `f`
   --> $DIR/check-trait-object-bounds-2.rs:8:9
    |