summary refs log tree commit diff
path: root/src/test/ui/traits/trait-impl-for-module.stderr
blob: 4b3c930dccd450f9c8c2d7ad90997277e2295489 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error[E0573]: expected type, found module `a`
  --> $DIR/trait-impl-for-module.rs:7:12
   |
LL | / trait A {
LL | | }
   | |_- similarly named trait `A` defined here
LL | 
LL |   impl A for a {
   |              ^ help: a trait with a similar name exists: `A`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0573`.