rust/tests/ui/error-codes/E0133.rs

7 lines
71 B
Rust

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