Fix run-pass tests

This commit is contained in:
varkor 2019-06-29 16:51:44 +01:00
parent d066f19a79
commit 75f31e78b8
2 changed files with 5 additions and 1 deletions

View File

@ -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)]

View File

@ -1,5 +1,7 @@
// run-pass
#![allow(stable_features)]
#![allow(unused_must_use)]
// ignore-emscripten no threads support