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
This commit is contained in:
parent
0954e5489c
commit
aa00f17409
1 changed files with 1 additions and 2 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue