1 error[E0495]: cannot infer an appropriate lifetime for lifetime parameter `'a` due to conflicting requirements
2 --> $DIR/regions-assoc-type-region-bound-in-trait-not-met.rs:14:10
4 LL | impl<'a> Foo<'static> for &'a i32 {
7 note: first, the lifetime cannot outlive the lifetime 'a as defined on the impl at 14:6...
8 --> $DIR/regions-assoc-type-region-bound-in-trait-not-met.rs:14:6
10 LL | impl<'a> Foo<'static> for &'a i32 {
12 = note: ...so that the types are compatible:
15 = note: but, the lifetime must be valid for the static lifetime...
16 note: ...so that the type `&i32` will meet its required lifetime bounds
17 --> $DIR/regions-assoc-type-region-bound-in-trait-not-met.rs:14:10
19 LL | impl<'a> Foo<'static> for &'a i32 {
22 error[E0495]: cannot infer an appropriate lifetime for lifetime parameter `'a` due to conflicting requirements
23 --> $DIR/regions-assoc-type-region-bound-in-trait-not-met.rs:19:13
25 LL | impl<'a,'b> Foo<'b> for &'a i64 {
28 note: first, the lifetime cannot outlive the lifetime 'a as defined on the impl at 19:6...
29 --> $DIR/regions-assoc-type-region-bound-in-trait-not-met.rs:19:6
31 LL | impl<'a,'b> Foo<'b> for &'a i64 {
33 = note: ...so that the types are compatible:
36 note: but, the lifetime must be valid for the lifetime 'b as defined on the impl at 19:9...
37 --> $DIR/regions-assoc-type-region-bound-in-trait-not-met.rs:19:9
39 LL | impl<'a,'b> Foo<'b> for &'a i64 {
41 note: ...so that the type `&i32` will meet its required lifetime bounds
42 --> $DIR/regions-assoc-type-region-bound-in-trait-not-met.rs:19:13
44 LL | impl<'a,'b> Foo<'b> for &'a i64 {
47 error: aborting due to 2 previous errors
49 For more information about this error, try `rustc --explain E0495`.