rust/tests/ui/issues/issue-5844.rs

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

10 lines
195 B
Rust
Raw Normal View History

2018-11-05 04:00:03 +00:00
//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
}