We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 913d2f7 commit 5e9dc84Copy full SHA for 5e9dc84
src/test/compile-fail/E0033.rs
@@ -14,9 +14,9 @@ trait SomeTrait {
14
15
fn main() {
16
let trait_obj: &SomeTrait = SomeTrait; //~ ERROR E0425
17
- //~^ ERROR E0038
18
- //~| method `foo` has no receiver
19
- //~| NOTE the trait `SomeTrait` cannot be made into an object
+ //~^ ERROR E0038
+ //~| method `foo` has no receiver
+ //~| NOTE the trait `SomeTrait` cannot be made into an object
20
21
let &invalid = trait_obj;
22
//~^ ERROR E0033
0 commit comments