mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 06:22:00 +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
|
|
}
|