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