]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/unsafe/unsafe-fn-called-from-safe.rs
2 // [thir]compile-flags: -Z thir-unsafeck
4 unsafe fn f() { return; }
8 //[mir]~^ ERROR call to unsafe function is unsafe
9 //[thir]~^^ ERROR call to unsafe function `f` is unsafe