]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-34373.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / issues / issue-34373.stderr
1 error[E0391]: cycle detected when processing `Foo::T`
2   --> $DIR/issue-34373.rs:17:30
3    |
4 LL | pub struct Foo<T = Box<Trait<DefaultFoo>>>;  //~ ERROR cycle detected
5    |                              ^^^^^^^^^^
6    |
7 note: ...which requires processing `DefaultFoo`...
8   --> $DIR/issue-34373.rs:18:19
9    |
10 LL | type DefaultFoo = Foo;
11    |                   ^^^
12    = note: ...which again requires processing `Foo::T`, completing the cycle
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0391`.