Fix run-pass tests
This commit is contained in:
parent
d066f19a79
commit
75f31e78b8
2 changed files with 5 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue