mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
Fix run-pass tests
This commit is contained in:
parent
d066f19a79
commit
75f31e78b8
@ -12,7 +12,9 @@ pub enum Handler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
take(Handler::Default, Box::new(main));
|
#[allow(unused_must_use)] {
|
||||||
|
take(Handler::Default, Box::new(main));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[inline(never)]
|
#[inline(never)]
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
// run-pass
|
// run-pass
|
||||||
|
|
||||||
#![allow(stable_features)]
|
#![allow(stable_features)]
|
||||||
|
#![allow(unused_must_use)]
|
||||||
|
|
||||||
// ignore-emscripten no threads support
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user