Skip to content

Commit aa00f17

Browse files
committed
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
1 parent 0954e54 commit aa00f17

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/compile-fail/arbitrary-self-types-not-object-safe.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ fn make_foo() {
4444
//~| ERROR E0038
4545
//~| NOTE method `foo` has a non-standard `self` type
4646
//~| NOTE the trait `Foo` cannot be made into an object
47-
//~| NOTE required because of the requirements on the impl of
48-
//~| `std::ops::CoerceUnsized<std::boxed::Box<Foo>>` for `std::boxed::Box<usize>`
47+
//~| NOTE requirements on the impl of `std::ops::CoerceUnsized<std::boxed::Box<Foo>>`
4948
}
5049

5150
fn make_bar() {

0 commit comments

Comments
 (0)