]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/rfc1623.rs
Auto merge of #86155 - alexcrichton:abort-on-unwind, r=nikomatsakis
[rust.git] / src / test / ui / rfc1623.rs
index b74a141bade5cf8143a5457faa3a7e3e81b11957..9ff4813d11286e860c0daf2a9f35dcd2c6c78789 100644 (file)
@@ -23,10 +23,6 @@ fn id<T>(t: T) -> T {
     bar: &Bar { bools: &[true, true] },
     f: &id,
     //~^ ERROR implementation of `FnOnce` is not general enough
-    //~^^ mismatched types
-    //~^^^ mismatched types
-    //~^^^^ mismatched types
-    //~^^^^^ mismatched types
 };
 
 // very simple test for a 'static static with default lifetime