Skip to content

Commit

Permalink
Fix tidy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Turner authored Aug 13, 2016
1 parent 913d2f7 commit 5e9dc84
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/compile-fail/E0033.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ 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
//~^ ERROR E0038
//~| method `foo` has no receiver
//~| NOTE the trait `SomeTrait` cannot be made into an object

let &invalid = trait_obj;
//~^ ERROR E0033
Expand Down

0 comments on commit 5e9dc84

Please sign in to comment.