]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/mismatched_types/closure-arg-type-mismatch.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / ui / mismatched_types / closure-arg-type-mismatch.rs
index 2d485d14a8d6b8fd963213f100da8727257c96a2..98abb0ba9795112fbd1129b5ed0507f6b6dc4722 100644 (file)
@@ -8,8 +8,4 @@ fn main() {
 fn baz<F: Fn(*mut &u32)>(_: F) {}
 fn _test<'a>(f: fn(*mut &'a u32)) {
     baz(f);
-    //~^ ERROR implementation of `FnOnce` is not general enough
-    //~| ERROR implementation of `FnOnce` is not general enough
-    //~| ERROR mismatched types
-    //~| ERROR mismatched types
 }