1 error: implementation of `Foo` is not general enough
2 --> $DIR/auto-trait-regions.rs:30:5
7 = note: `Foo` would have to be implemented for the type `&'0 OnlyFooIfStaticRef`, for any lifetime `'0`
8 = note: but `Foo` is actually implemented for the type `&'1 OnlyFooIfStaticRef`, for some specific lifetime `'1`
10 error: implementation of `Foo` is not general enough
11 --> $DIR/auto-trait-regions.rs:48:5
16 = note: `Foo` would have to be implemented for the type `A<'0, '1>`, for any two lifetimes `'0` and `'1`
17 = note: but `Foo` is actually implemented for the type `A<'_, '2>`, for some specific lifetime `'2`
19 error: aborting due to 2 previous errors