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