]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/traits/safety-fn-body.rs
Auto merge of #87284 - Aaron1011:remove-paren-special, r=petrochenkov
[rust.git] / src / test / ui / traits / safety-fn-body.rs
index df5277473056b25f57ccade3a80ef6da9a953487..2cc4fe1b344a494be6ce56714eac35dcd0b9e4d5 100644 (file)
@@ -1,6 +1,9 @@
 // Check that an unsafe impl does not imply that unsafe actions are
 // legal in the methods.
 
+// revisions: mir thir
+// [thir]compile-flags: -Z thir-unsafeck
+
 unsafe trait UnsafeTrait : Sized {
     fn foo(self) { }
 }