about summary refs log tree commit diff
path: root/tests/ui/associated-types/defaults-cyclic-fail-2.stderr
blob: ec0c9973c0a2e050263cb8fb95ae949736b465e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0275]: overflow evaluating the requirement `<bool as Tr>::A == _`
  --> $DIR/defaults-cyclic-fail-2.rs:27:14
   |
LL |     type A = Box<Self::B>;
   |              ^^^^^^^^^^^^

error[E0275]: overflow evaluating the requirement `<usize as Tr>::B == _`
  --> $DIR/defaults-cyclic-fail-2.rs:33:14
   |
LL |     type B = &'static Self::A;
   |              ^^^^^^^^^^^^^^^^

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0275`.