about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Hewson <michael@michaelhewson.ca>2017-11-08 08:29:47 -0500
committerMichael Hewson <michael@michaelhewson.ca>2017-11-08 08:29:47 -0500
commit02ce3ac1f85606b339dcc91a16c89a790bf17a82 (patch)
treec522d2567f44f36e054cf37cb4f963be435f9608
parentbbe755c7a6b20c1340ef1d86fb30d4b91b81450e (diff)
downloadrust-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.rs1
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() {