summaryrefslogtreecommitdiffstats
path: root/src/test/ui/associated-types/defaults-cyclic-fail-2.stderr
blob: d0fbab077153f4bbf974ed21d3dc48722df8038b (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-2.rs:27:14
   |
LL |     type A = Box<Self::B>;
   |              ^^^^^^^^^^^^

error[E0275]: overflow evaluating the requirement `<usize as Tr>::A == _`
  --> $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`.