mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
10 lines
195 B
Rust
10 lines
195 B
Rust
//aux-build:issue-5844-aux.rs
|
|
// revisions: mir thir
|
|
// [thir]compile-flags: -Z thir-unsafeck
|
|
|
|
extern crate issue_5844_aux;
|
|
|
|
fn main () {
|
|
issue_5844_aux::rand(); //~ ERROR: requires unsafe
|
|
}
|