]>
Commit | Line | Data |
---|---|---|
8faf50e0 | 1 | error: unsatisfied lifetime constraints |
b7449926 | 2 | --> $DIR/mir_check_cast_unsize.rs:18:5 |
8faf50e0 | 3 | | |
b7449926 XL |
4 | LL | fn bar<'a>(x: &'a u32) -> &'static dyn Debug { |
5 | | -- lifetime `'a` defined here | |
6 | LL | x | |
0bf4aa26 | 7 | | ^ returning this value requires that `'a` must outlive `'static` |
8faf50e0 XL |
8 | |
9 | error: aborting due to previous error | |
10 |