about summary refs log tree commit diff
diff options
context:
space:
mode:
authormandeep <mandeep@users.noreply.github.com>2017-03-22 23:06:56 -0500
committermandeep <mandeep@users.noreply.github.com>2017-03-22 23:06:56 -0500
commit7d302d25826ee41703e10d6acd6d3114930e1dd2 (patch)
tree8da65ddefe9b9542db4750bffda89ad5cc1a67cf
parent85dbc6570a304d7e61fc41d1a121d0b01619fb45 (diff)
downloadrust-7d302d25826ee41703e10d6acd6d3114930e1dd2.tar.gz
rust-7d302d25826ee41703e10d6acd6d3114930e1dd2.zip
Changed E0038 error message in test to comply with new message
-rw-r--r--src/test/compile-fail/object-safety-supertrait-mentions-Self.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/object-safety-supertrait-mentions-Self.rs b/src/test/compile-fail/object-safety-supertrait-mentions-Self.rs
index 74d1ad62f14..a93c056c410 100644
--- a/src/test/compile-fail/object-safety-supertrait-mentions-Self.rs
+++ b/src/test/compile-fail/object-safety-supertrait-mentions-Self.rs
@@ -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
 }