1 error[E0275]: overflow evaluating the requirement `<() as Tr>::B == _`
2 --> $DIR/defaults-cyclic-fail-1.rs:10:6
7 error[E0271]: type mismatch resolving `<bool as Tr>::B == _`
8 --> $DIR/defaults-cyclic-fail-1.rs:28: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-1.rs:35: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-1.rs:30: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-1.rs:37:5
28 LL | type B = &'static Self::A;
29 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cyclic type of infinite size
31 error: aborting due to 5 previous errors
33 Some errors have detailed explanations: E0271, E0275.
34 For more information about an error, try `rustc --explain E0271`.