]> git.lizzy.rs Git - rust.git/blob - tests/ui/variance/variance-types.stderr
Make stage2 rustdoc and proc-macro-srv disableable in x.py install
[rust.git] / tests / ui / variance / variance-types.stderr
1 error[E0208]: [-, o, o]
2   --> $DIR/variance-types.rs:10:1
3    |
4 LL | struct InvariantMut<'a,A:'a,B:'a> {
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7 error[E0208]: [o]
8   --> $DIR/variance-types.rs:15:1
9    |
10 LL | struct InvariantCell<A> {
11    | ^^^^^^^^^^^^^^^^^^^^^^^
12
13 error[E0208]: [o]
14   --> $DIR/variance-types.rs:20:1
15    |
16 LL | struct InvariantIndirect<A> {
17    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
18
19 error[E0208]: [+]
20   --> $DIR/variance-types.rs:25:1
21    |
22 LL | struct Covariant<A> {
23    | ^^^^^^^^^^^^^^^^^^^
24
25 error[E0208]: [-]
26   --> $DIR/variance-types.rs:30:1
27    |
28 LL | struct Contravariant<A> {
29    | ^^^^^^^^^^^^^^^^^^^^^^^
30
31 error[E0208]: [+, -, o]
32   --> $DIR/variance-types.rs:35:1
33    |
34 LL | enum Enum<A,B,C> {
35    | ^^^^^^^^^^^^^^^^
36
37 error: aborting due to 6 previous errors
38
39 For more information about this error, try `rustc --explain E0208`.