about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Hewson <michael@michaelhewson.ca>2017-11-08 16:12:12 -0500
committerMichael Hewson <michael@michaelhewson.ca>2017-11-08 16:12:12 -0500
commitaa00f17409ab7f3403bd94f266387bb735ac3ef3 (patch)
tree6a1724bc21258f030f409f47ad3b7bf18d058859
parent0954e5489c0d28021890ffe14e1ed7b07a3f3772 (diff)
fix error message in arbitrary-self-types-not-object-safe test
put the error message on one line so the test suite does not think it is two errors
use a substring of the error message so it fits in 100 chars for tidy
-rw-r--r--src/test/compile-fail/arbitrary-self-types-not-object-safe.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/compile-fail/arbitrary-self-types-not-object-safe.rs b/src/test/compile-fail/arbitrary-self-types-not-object-safe.rs
index 50abec84cc1..6b10739bd8e 100644
--- a/src/test/compile-fail/arbitrary-self-types-not-object-safe.rs
+++ b/src/test/compile-fail/arbitrary-self-types-not-object-safe.rs
@@ -44,8 +44,7 @@ fn make_foo() {
     //~| ERROR E0038
     //~| NOTE method `foo` has a non-standard `self` type
     //~| NOTE the trait `Foo` cannot be made into an object
-    //~| NOTE required because of the requirements on the impl of
-    //~|      `std::ops::CoerceUnsized<std::boxed::Box<Foo>>` for `std::boxed::Box<usize>`
+    //~| NOTE requirements on the impl of `std::ops::CoerceUnsized<std::boxed::Box<Foo>>`
 }
 
 fn make_bar() {