mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-03 17:35:28 +03:00
19 lines
401 B
Plaintext
19 lines
401 B
Plaintext
error[E0573]: expected type, found module `a`
|
|
--> $DIR/impl-for-module.rs:7:12
|
|
|
|
|
LL | trait A {
|
|
| ------- similarly named trait `A` defined here
|
|
...
|
|
LL | impl A for a {
|
|
| ^
|
|
|
|
|
help: a trait with a similar name exists
|
|
|
|
|
LL - impl A for a {
|
|
LL + impl A for A {
|
|
|
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0573`.
|