]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/trait-bounds-not-on-bare-trait.rs
rollup merge of #17355 : gamazeps/issue17210
[rust.git] / src / test / compile-fail / trait-bounds-not-on-bare-trait.rs
index 78b4ab817bfacd3dc2cf81ec3ea54820173a0a04..85a2761172d6136d6973d940217826eabeb99be2 100644 (file)
@@ -14,7 +14,7 @@ trait Foo {
 // This should emit the less confusing error, not the more confusing one.
 
 fn foo(_x: Foo + Send) {
-    //~^ERROR variable `_x` has dynamically sized type `Foo+Send`
+    //~^ERROR the trait `core::kinds::Sized` is not implemented
 }
 
 fn main() { }