]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-types/defaults-cyclic-fail-2.stderr
Auto merge of #79684 - usbalbin:const_copy, r=oli-obk
[rust.git] / src / test / ui / associated-types / defaults-cyclic-fail-2.stderr
1 error[E0275]: overflow evaluating the requirement `<bool as Tr>::B == _`
2   --> $DIR/defaults-cyclic-fail-2.rs:27:5
3    |
4 LL |     type A = Box<Self::B>;
5    |     ^^^^^^^^^^^^^^^^^^^^^^
6
7 error[E0275]: overflow evaluating the requirement `<usize as Tr>::A == _`
8   --> $DIR/defaults-cyclic-fail-2.rs:33:5
9    |
10 LL |     type B = &'static Self::A;
11    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0275`.