diff options
| author | Michael Hewson <michael@michaelhewson.ca> | 2017-11-08 08:29:47 -0500 |
|---|---|---|
| committer | Michael Hewson <michael@michaelhewson.ca> | 2017-11-08 08:29:47 -0500 |
| commit | 02ce3ac1f85606b339dcc91a16c89a790bf17a82 (patch) | |
| tree | c522d2567f44f36e054cf37cb4f963be435f9608 | |
| parent | bbe755c7a6b20c1340ef1d86fb30d4b91b81450e (diff) | |
| download | rust-02ce3ac1f85606b339dcc91a16c89a790bf17a82.tar.gz rust-02ce3ac1f85606b339dcc91a16c89a790bf17a82.zip | |
add a NOTE comment to the object safety test so that it passes
| -rw-r--r-- | src/test/compile-fail/arbitrary-self-types-not-object-safe.rs | 1 |
1 files changed, 1 insertions, 0 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 1f9a2191c9c..f5f4abf506e 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 @@ -35,6 +35,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>` } fn make_bar() { |
