]> git.proxmox.com Git - rustc.git/blob - src/test/ui/associated-types/defaults-cyclic-fail-2.stderr
New upstream version 1.49.0~beta.4+dfsg1
[rustc.git] / src / test / ui / associated-types / defaults-cyclic-fail-2.stderr
1 error[E0271]: type mismatch resolving `<bool as Tr>::B == _`
2 --> $DIR/defaults-cyclic-fail-2.rs:27:5
3 |
4 LL | type A = Box<Self::B>;
5 | ^^^^^^^^^^^^^^^^^^^^^^ cyclic type of infinite size
6
7 error[E0271]: type mismatch resolving `<usize as Tr>::A == _`
8 --> $DIR/defaults-cyclic-fail-2.rs:33:5
9 |
10 LL | type B = &'static Self::A;
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cyclic type of infinite size
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0271`.