]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/rfc1623.rs
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / ui / rfc1623.rs
index aa6b1c0012c933f6be3931067e83f445a7fde682..9ff4813d11286e860c0daf2a9f35dcd2c6c78789 100644 (file)
@@ -22,7 +22,7 @@ static SOME_STRUCT: &SomeStruct = &SomeStruct {
     foo: &Foo { bools: &[false, true] },
     bar: &Bar { bools: &[true, true] },
     f: &id,
-    //~^ ERROR mismatched types
+    //~^ ERROR implementation of `FnOnce` is not general enough
 };
 
 // very simple test for a 'static static with default lifetime