rust/tests/ui/rfcs/rfc-2093-infer-outlives/enum.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
401 B
Plaintext
Raw Normal View History

error: rustc_outlives
2019-04-22 11:35:37 -05:00
--> $DIR/enum.rs:7:1
|
2022-02-13 09:27:59 -06:00
LL | enum Foo<'a, T> {
| ^^^^^^^^^^^^^^^
|
= note: T: 'a
error: rustc_outlives
2019-04-22 11:35:37 -05:00
--> $DIR/enum.rs:13:1
|
2022-02-13 09:27:59 -06:00
LL | struct Bar<'b, U> {
| ^^^^^^^^^^^^^^^^^
|
= note: U: 'b
error: rustc_outlives
2019-04-22 11:35:37 -05:00
--> $DIR/enum.rs:19:1
|
2022-02-13 09:27:59 -06:00
LL | enum Ying<'c, K> {
| ^^^^^^^^^^^^^^^^
|
= note: K: 'c
error: aborting due to 3 previous errors