]> git.lizzy.rs Git - rust.git/blob - src/test/ui/traits/impl-for-module.stderr
Rollup merge of #99742 - sigaloid:master, r=thomcc
[rust.git] / src / test / ui / traits / impl-for-module.stderr
1 error[E0573]: expected type, found module `a`
2   --> $DIR/impl-for-module.rs:7:12
3    |
4 LL | trait A {
5    | ------- similarly named trait `A` defined here
6 ...
7 LL | impl A for a {
8    |            ^ help: a trait with a similar name exists: `A`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0573`.