1 error[E0573]: expected type, found module `a`
2 --> $DIR/impl-for-module.rs:7:12
5 | ------- similarly named trait `A` defined here
8 | ^ help: a trait with a similar name exists: `A`
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0573`.