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/abort.rs
1 parent a5d72f4 commit bb36a40Copy full SHA for bb36a40
tests/ui/panic-runtime/abort.rs
@@ -1,9 +1,7 @@
1
//@ run-pass
2
-#![allow(unused_variables)]
3
//@ compile-flags:-C panic=abort
4
//@ no-prefer-dynamic
5
-//@ ignore-wasm32 no processes
6
-//@ ignore-sgx no processes
+//@ needs-subprocess
7
8
use std::env;
9
use std::process::Command;
@@ -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