We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
tests/ui/panic-runtime/lto-abort.rs
1 parent 1abb936 commit 91bd545Copy full SHA for 91bd545
tests/ui/panic-runtime/lto-abort.rs
@@ -1,9 +1,7 @@
1
//@ run-pass
2
-#![allow(unused_variables)]
3
//@ compile-flags:-C lto -C panic=abort
4
//@ no-prefer-dynamic
5
-//@ ignore-wasm32 no processes
6
-//@ ignore-sgx no processes
+//@ needs-subprocess
7
8
use std::process::Command;
9
use std::env;
@@ -18,7 +16,7 @@ impl Drop for Bomb {
18
16
19
17
fn main() {
20
let mut args = env::args_os();
21
- let me = args.next().unwrap();
+ let _ = args.next().unwrap();
22
23
if let Some(s) = args.next() {
24
if &*s == "foo" {
0 commit comments