Make E0033 tests fit in 100 cols

This commit is contained in:
Panashe M. Fundira 2016-08-14 19:48:55 -04:00
parent 80beeb3574
commit a37e90a8c9
No known key found for this signature in database
GPG key ID: ABD6E90F51BF74B5

View file

@ -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