]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/terr-in-field.rs
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / terr-in-field.rs
index 388c13d28ccf9698c862fb5964d7cd8273481a37..aa801fd0a6c64b15b86dccdefbd057cf3ee98865 100644 (file)
@@ -11,8 +11,6 @@ struct Bar {
 fn want_foo(f: Foo) {}
 fn have_bar(b: Bar) {
     want_foo(b); //~  ERROR mismatched types
-                 //~| expected type `Foo`
-                 //~| found type `Bar`
                  //~| expected struct `Foo`, found struct `Bar`
 }