]>
Commit | Line | Data |
---|---|---|
9fa01778 | 1 | error: lifetime may not live long enough |
923072b8 | 2 | --> $DIR/inherent-associated-constants.rs:8:5 |
9fa01778 XL |
3 | | |
4 | LL | fn non_wf_associated_const<'a>(x: i32) { | |
5 | | -- lifetime `'a` defined here | |
532ac7d7 | 6 | LL | A::<'a>::IC; |
9fa01778 XL |
7 | | ^^^^^^^^^^^ requires that `'a` must outlive `'static` |
8 | ||
9 | error: aborting due to previous error | |
10 |