@@ -5,7 +5,7 @@ LL | <u32 as RefFoo<u32>>::ref_foo(a)
55 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
66 |
77 = note: `Foo<'static, u32>` would have to be implemented for the type `&'0 u32`, for any lifetime `'0`
8- = note: but `Foo<'_, u32>` is actually implemented for the type `&'1 u32`, for the specific lifetime `'1`
8+ = note: but `Foo<'_, u32>` is actually implemented for the type `&'1 u32`, for some specific lifetime `'1`
99
1010error: implementation of `Foo` is not general enough
1111 --> $DIR/issue-54302-cases.rs:69:5
@@ -14,7 +14,7 @@ LL | <i32 as RefFoo<i32>>::ref_foo(a)
1414 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1515 |
1616 = note: `Foo<'static, i32>` would have to be implemented for the type `&'0 i32`, for any lifetime `'0`
17- = note: but `Foo<'_, i32>` is actually implemented for the type `&'1 i32`, for the specific lifetime `'1`
17+ = note: but `Foo<'_, i32>` is actually implemented for the type `&'1 i32`, for some specific lifetime `'1`
1818
1919error: implementation of `Foo` is not general enough
2020 --> $DIR/issue-54302-cases.rs:75:5
@@ -23,7 +23,7 @@ LL | <u64 as RefFoo<u64>>::ref_foo(a)
2323 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2424 |
2525 = note: `Foo<'static, u64>` would have to be implemented for the type `&'0 u64`, for any lifetime `'0`
26- = note: but `Foo<'_, u64>` is actually implemented for the type `&'1 u64`, for the specific lifetime `'1`
26+ = note: but `Foo<'_, u64>` is actually implemented for the type `&'1 u64`, for some specific lifetime `'1`
2727
2828error: implementation of `Foo` is not general enough
2929 --> $DIR/issue-54302-cases.rs:81:5
@@ -32,7 +32,7 @@ LL | <i64 as RefFoo<i64>>::ref_foo(a)
3232 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3333 |
3434 = note: `Foo<'static, i64>` would have to be implemented for the type `&'0 i64`, for any lifetime `'0`
35- = note: but `Foo<'_, i64>` is actually implemented for the type `&'1 i64`, for the specific lifetime `'1`
35+ = note: but `Foo<'_, i64>` is actually implemented for the type `&'1 i64`, for some specific lifetime `'1`
3636
3737error: aborting due to 4 previous errors
3838
0 commit comments