]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/trait-bounds-not-on-impl.stderr
Auto merge of #61361 - estebank:infer-type, r=varkor
[rust.git] / src / test / ui / parser / trait-bounds-not-on-impl.stderr
index a712f68044ec088e2cfe13e3e93253ce31a4e5a8..8d2d5e3d7ddd2582d05b0091dc9bb243e403af71 100644 (file)
@@ -1,7 +1,7 @@
 error: expected a trait, found type
-  --> $DIR/trait-bounds-not-on-impl.rs:8:6
+  --> $DIR/trait-bounds-not-on-impl.rs:5:6
    |
-LL | impl Foo + Owned for Bar {
+LL | impl Foo + Owned for Bar {}
    |      ^^^^^^^^^^^
 
 error: aborting due to previous error