Skip to content

Commit

Permalink
Changed E0038 error message in test to comply with new message
Browse files Browse the repository at this point in the history
  • Loading branch information
mandeep committed Mar 23, 2017
1 parent 85dbc65 commit 7d302d2
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -24,7 +24,7 @@ fn make_bar<T:Bar<u32>>(t: &T) -> &Bar<u32> {

fn make_baz<T:Baz>(t: &T) -> &Baz {
//~^ ERROR E0038
//~| NOTE the trait cannot use `Self` as a type parameter in the supertrait listing
//~| NOTE the trait cannot use `Self` as a type parameter in the supertraits or where-clauses
//~| NOTE the trait `Baz` cannot be made into an object
t
}
Expand Down

0 comments on commit 7d302d2

Please sign in to comment.