1 error[E0271]: type mismatch resolving `<() as Tr>::B == _`
2 --> $DIR/defaults-cyclic-fail-2.rs:12:6
5 | ^^ cyclic type of infinite size
7 error[E0271]: type mismatch resolving `<bool as Tr>::B == _`
8 --> $DIR/defaults-cyclic-fail-2.rs:30:6
10 LL | impl Tr for bool {
11 | ^^ cyclic type of infinite size
13 error[E0271]: type mismatch resolving `<usize as Tr>::B == _`
14 --> $DIR/defaults-cyclic-fail-2.rs:37:6
16 LL | impl Tr for usize {
17 | ^^ cyclic type of infinite size
19 error[E0271]: type mismatch resolving `<bool as Tr>::B == _`
20 --> $DIR/defaults-cyclic-fail-2.rs:32:5
22 LL | type A = Box<Self::B>;
23 | ^^^^^^^^^^^^^^^^^^^^^^ cyclic type of infinite size
25 error[E0271]: type mismatch resolving `<usize as Tr>::A == _`
26 --> $DIR/defaults-cyclic-fail-2.rs:39:5
28 LL | type B = &'static Self::A;
29 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cyclic type of infinite size
31 error: aborting due to 5 previous errors
33 For more information about this error, try `rustc --explain E0271`.