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

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

8 lines
131 B
Rust
Raw Normal View History

2018-11-05 04:00:03 +00:00
//@aux-build:issue-5844-aux.rs
extern crate issue_5844_aux;
fn main() {
issue_5844_aux::rand(); //~ ERROR: requires unsafe
}