about summary refs log tree commit diff
path: root/src/test/ui/foreign-unsafe-fn-called.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/foreign-unsafe-fn-called.rs')
-rw-r--r--src/test/ui/foreign-unsafe-fn-called.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/ui/foreign-unsafe-fn-called.rs b/src/test/ui/foreign-unsafe-fn-called.rs
index de3de286fc9..67302ea1bcd 100644
--- a/src/test/ui/foreign-unsafe-fn-called.rs
+++ b/src/test/ui/foreign-unsafe-fn-called.rs
@@ -9,5 +9,6 @@ mod test {
 
 fn main() {
     test::free();
-    //~^ ERROR call to unsafe function is unsafe
+    //[mir]~^ ERROR call to unsafe function is unsafe
+    //[thir]~^^ ERROR call to unsafe function `test::free` is unsafe
 }