Skip to content

Commit a37e90a

Browse files
committed
Make E0033 tests fit in 100 cols
1 parent 80beeb3 commit a37e90a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/test/compile-fail/E0033.rs

+5-4
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ trait SomeTrait {
1313
}
1414

1515
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
16+
let trait_obj: &SomeTrait = SomeTrait;
17+
//~^ ERROR E0425
18+
//~| ERROR E0038
19+
//~| method `foo` has no receiver
20+
//~| NOTE the trait `SomeTrait` cannot be made into an object
2021

2122
let &invalid = trait_obj;
2223
//~^ ERROR E0033

0 commit comments

Comments
 (0)