1 error[E0308]: mismatched types
2 --> $DIR/trait-associated-constant.rs:21:5
4 LL | const AC: Option<&'c str> = None;
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch
7 = note: expected type `std::option::Option<&'b str>`
8 found type `std::option::Option<&'c str>`
9 note: the lifetime 'c as defined on the impl at 20:18...
10 --> $DIR/trait-associated-constant.rs:20:18
12 LL | impl<'a: 'b, 'b, 'c> Anything<'a, 'b> for FailStruct {
14 note: ...does not necessarily outlive the lifetime 'b as defined on the impl at 20:14
15 --> $DIR/trait-associated-constant.rs:20:14
17 LL | impl<'a: 'b, 'b, 'c> Anything<'a, 'b> for FailStruct {
20 error: aborting due to previous error
22 For more information about this error, try `rustc --explain E0308`.