]>
Commit | Line | Data |
---|---|---|
94b46f34 | 1 | #![feature(rustc_attrs)] |
223e47cc | 2 | |
94b46f34 | 3 | #[rustc_outlives] |
0731742a | 4 | struct Foo<'a, 'b, T> { //~ ERROR rustc_outlives |
dc9dc135 | 5 | field1: dyn Bar<'a, 'b, T> |
223e47cc | 6 | } |
83c7162d | 7 | |
94b46f34 XL |
8 | trait Bar<'x, 's, U> |
9 | where U: 'x, | |
10 | Self:'s | |
11 | {} | |
83c7162d XL |
12 | |
13 | fn main() {} |