]> git.proxmox.com Git - rustc.git/blame - src/test/ui/resolve/issue-3907.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / resolve / issue-3907.stderr
CommitLineData
32a655c1 1error[E0404]: expected trait, found type alias `Foo`
532ac7d7 2 --> $DIR/issue-3907.rs:11:6
32a655c1 3 |
532ac7d7 4LL | impl Foo for S {
a1dfa0c6
XL
5 | ^^^ type aliases cannot be used as traits
6 |
f9f354fc 7help: you might have meant to use `#![feature(trait_alias)]` instead of a `type` alias
f9f354fc 8 |
cdc7bbd5
XL
9LL | trait Foo = dyn issue_3907::Foo;
10 |
f9f354fc 11help: consider importing this trait instead
041b39d2 12 |
0531ce1d 13LL | use issue_3907::Foo;
041b39d2 14 |
32a655c1 15
0531ce1d 16error: aborting due to previous error
32a655c1 17
0531ce1d 18For more information about this error, try `rustc --explain E0404`.