summaryrefslogtreecommitdiffstats
path: root/src/test/ui/associated-types/defaults-cyclic-fail-1.stderr
blob: 008eddcb29dbcc121770f7fa6681913bea60960d (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>::B == _`
  --> $DIR/defaults-cyclic-fail-1.rs:26:14
   |
LL |     type A = Box<Self::B>;
   |              ^^^^^^^^^^^^

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

error: aborting due to 2 previous errors

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