]> git.proxmox.com Git - rustc.git/blame - src/test/ui/cycle-trait/cycle-trait-default-type-trait.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / cycle-trait / cycle-trait-default-type-trait.stderr
CommitLineData
f9f354fc 1error[E0391]: cycle detected when computing type of `Foo::X`
dc9dc135 2 --> $DIR/cycle-trait-default-type-trait.rs:4:23
b7449926 3 |
dc9dc135
XL
4LL | trait Foo<X = Box<dyn Foo>> {
5 | ^^^
b7449926 6 |
94222f64 7 = note: ...which immediately requires computing type of `Foo::X` again
0731742a
XL
8note: cycle used when collecting item types in top-level module
9 --> $DIR/cycle-trait-default-type-trait.rs:4:1
10 |
064997fb
FG
11LL | / trait Foo<X = Box<dyn Foo>> {
12LL | |
064997fb
FG
13LL | | }
14LL | |
15LL | | fn main() { }
16 | |_____________^
dfeec247 17
f2b60f7d 18error: aborting due to previous error
b7449926
XL
19
20For more information about this error, try `rustc --explain E0391`.