summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0133.rs
blob: dee1475ba213a8839535aa222359aaf72424939a (plain)
1
2
3
4
5
6
7
8
9
// revisions: mir thir
// [thir]compile-flags: -Z thir-unsafeck

unsafe fn f() { return; }

fn main() {
    f();
    //~^ ERROR E0133
}