Make E0033 tests fit in 100 cols
This commit is contained in:
parent
80beeb3574
commit
a37e90a8c9
1 changed files with 5 additions and 4 deletions
|
|
@ -13,10 +13,11 @@ trait SomeTrait {
|
|||
}
|
||||
|
||||
fn main() {
|
||||
let trait_obj: &SomeTrait = SomeTrait; //~ ERROR E0425
|
||||
//~^ ERROR E0038
|
||||
//~| method `foo` has no receiver
|
||||
//~| NOTE the trait `SomeTrait` cannot be made into an object
|
||||
let trait_obj: &SomeTrait = SomeTrait;
|
||||
//~^ ERROR E0425
|
||||
//~| ERROR E0038
|
||||
//~| method `foo` has no receiver
|
||||
//~| NOTE the trait `SomeTrait` cannot be made into an object
|
||||
|
||||
let &invalid = trait_obj;
|
||||
//~^ ERROR E0033
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue