]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/trait-bounds-not-on-impl.rs
Register new snapshots
[rust.git] / src / test / compile-fail / trait-bounds-not-on-impl.rs
index ac88b21b456e148815e8914437e6f602b695e104..38c7814460147c0cfb975e50e24d8d6f080ebe8b 100644 (file)
@@ -13,7 +13,7 @@ trait Foo {
 
 struct Bar;
 
-impl Foo:Owned for Bar { //~ ERROR bounded traits are only valid in type position
+impl Foo + Owned for Bar { //~ ERROR bounded traits are only valid in type position
 }
 
 fn main() { }