rust/tests/ui/issues/issue-5844.rs
2024-02-16 20:02:50 +00:00

8 lines
131 B
Rust

//@aux-build:issue-5844-aux.rs
extern crate issue_5844_aux;
fn main() {
issue_5844_aux::rand(); //~ ERROR: requires unsafe
}