From aa00f17409ab7f3403bd94f266387bb735ac3ef3 Mon Sep 17 00:00:00 2001 From: Michael Hewson Date: Wed, 8 Nov 2017 16:12:12 -0500 Subject: [PATCH] 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 --- src/test/compile-fail/arbitrary-self-types-not-object-safe.rs | 3 +-- 1 file changed, 1 insertion(+), 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 50abec84cc1e..6b10739bd8e5 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>` for `std::boxed::Box` + //~| NOTE requirements on the impl of `std::ops::CoerceUnsized>` } fn make_bar() {