rust/tests/ui/traits/impl-for-module.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
351 B
Plaintext
Raw Normal View History

2018-08-08 12:28:26 +00:00
error[E0573]: expected type, found module `a`
2021-02-08 22:15:45 +00:00
--> $DIR/impl-for-module.rs:7:12
2018-08-08 12:28:26 +00:00
|
2020-03-21 14:03:58 +00: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 12:28:26 +00:00
error: aborting due to 1 previous error
2018-08-08 12:28:26 +00:00
2019-10-09 12:19:48 +00:00
For more information about this error, try `rustc --explain E0573`.