]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/foreign-unsafe-fn-called.rs
Rollup merge of #97317 - GuillaumeGomez:gui-settings-text-click, r=jsha
[rust.git] / src / test / ui / foreign-unsafe-fn-called.rs
index cd084a1620afe8c05cad3d8dbddb0c3cdc2ff13f..67302ea1bcddb04c35d98c4277038552f1b383f6 100644 (file)
@@ -9,5 +9,6 @@ mod test {
 
 fn main() {
     test::free();
-    //~^ ERROR call to unsafe function `test::free` is unsafe
+    //[mir]~^ ERROR call to unsafe function is unsafe
+    //[thir]~^^ ERROR call to unsafe function `test::free` is unsafe
 }