2018-08-08 14:28:26 +02:00
|
|
|
error[E0573]: expected type, found module `a`
|
2021-02-08 23:15:45 +01:00
|
|
|
--> $DIR/impl-for-module.rs:7:12
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2020-03-21 15:03:58 +01:00
|
|
|
LL | trait A {
|
|
|
|
| ------- similarly named trait `A` defined here
|
|
|
|
...
|
|
|
|
LL | impl A for a {
|
|
|
|
| ^ help: a trait with a similar name exists: `A`
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2019-10-09 14:19:48 +02:00
|
|
|
For more information about this error, try `rustc --explain E0573`.
|