]> git.proxmox.com Git - rustc.git/blob - src/test/ui/associated-types/defaults-cyclic-fail-2.stderr
New upstream version 1.43.0+dfsg1
[rustc.git] / src / test / ui / associated-types / defaults-cyclic-fail-2.stderr
1 error[E0275]: overflow evaluating the requirement `<() as Tr>::B`
2 --> $DIR/defaults-cyclic-fail-2.rs:12:6
3 |
4 LL | impl Tr for () {}
5 | ^^
6
7 error[E0275]: overflow evaluating the requirement `<bool as Tr>::B`
8 --> $DIR/defaults-cyclic-fail-2.rs:30:6
9 |
10 LL | impl Tr for bool {
11 | ^^
12
13 error[E0275]: overflow evaluating the requirement `<usize as Tr>::B`
14 --> $DIR/defaults-cyclic-fail-2.rs:37:6
15 |
16 LL | impl Tr for usize {
17 | ^^
18
19 error[E0275]: overflow evaluating the requirement `<bool as Tr>::B`
20 --> $DIR/defaults-cyclic-fail-2.rs:32:5
21 |
22 LL | type A = Box<Self::B>;
23 | ^^^^^^^^^^^^^^^^^^^^^^
24
25 error[E0275]: overflow evaluating the requirement `<usize as Tr>::A`
26 --> $DIR/defaults-cyclic-fail-2.rs:39:5
27 |
28 LL | type B = &'static Self::A;
29 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
30
31 error: aborting due to 5 previous errors
32
33 For more information about this error, try `rustc --explain E0275`.