rust/tests/ui/variance/variance-associated-types.stderr

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

15 lines
316 B
Plaintext
Raw Normal View History

error: [+, +]
2018-12-25 15:56:47 +00:00
--> $DIR/variance-associated-types.rs:13:1
2018-08-08 12:28:26 +00:00
|
2022-02-13 15:27:59 +00:00
LL | struct Foo<'a, T : Trait<'a>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2018-08-08 12:28:26 +00:00
error: [o, o]
2018-12-25 15:56:47 +00:00
--> $DIR/variance-associated-types.rs:18:1
2018-08-08 12:28:26 +00:00
|
2022-02-13 15:27:59 +00:00
LL | struct Bar<'a, T : Trait<'a>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2018-08-08 12:28:26 +00:00
error: aborting due to 2 previous errors