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() {