Skip to content

Commit

Permalink
Fix run-pass tests
Browse files Browse the repository at this point in the history
  • Loading branch information
varkor committed Jun 29, 2019
1 parent 238bf81 commit 1424a6b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/test/run-pass/issues/issue-30530.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/panics/panic-handler-flail-wildly.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// run-pass

#![allow(stable_features)]
#![allow(unused_must_use)]

// ignore-emscripten no threads support

Expand Down

0 comments on commit 1424a6b

Please sign in to comment.