]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2093-infer-outlives/explicit-union.stderr
Rollup merge of #56044 - matthewjasper:function-param-drop-order, r=cramertj
[rust.git] / src / test / ui / rfc-2093-infer-outlives / explicit-union.stderr
1 error: rustc_outlives
2   --> $DIR/explicit-union.rs:6:1
3    |
4 LL | / union Foo<'b, U> { //~ ERROR rustc_outlives
5 LL | |     bar: Bar<'b, U>
6 LL | | }
7    | |_^
8    |
9    = note: U : 'b
10
11 error: aborting due to previous error
12