fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
368 B13 linesraw
1error[E0573]: expected type, found module `a`
2  --> $DIR/trait-impl-for-module.rs:7:12
3   |
4LL | / trait A {
5LL | | }
6   | |_- similarly named trait `A` defined here
7LL | 
8LL |   impl A for a {
9   |              ^ help: a trait with a similar name exists: `A`
10
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0573`.