Files
rust/tests/ui/unsafe/extern-function-requires-unsafe-5844.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
162 B
Rust
Raw Normal View History

2025-08-20 14:02:39 -04:00
// https://github.com/rust-lang/rust/issues/5844
//@aux-build:aux-5844.rs
extern crate aux_5844;
fn main() {
aux_5844::rand(); //~ ERROR: requires unsafe
}