diff options
| author | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-04-16 19:44:27 +0000 |
|---|---|---|
| committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-04-16 19:44:27 +0000 |
| commit | 5ff9076e9c1a5cc2e9b57041699d0aa37ca8c768 (patch) | |
| tree | 4169f3ae1a774a189b90baeefb1e1c3aaa0b5a44 /tests/cfail.rs | |
| parent | b55581dfe35040a4fdc93a1f38c1e1769d4d2535 (diff) | |
| parent | bfa56e12f7a3ec3734e329f00d98ce9a953fce6d (diff) | |
Merge #71
71: update parser r=japaric a=japaric
closes #69
this doesn't change functionality per se but improves diagnostics in some cases. Some hard errors
have becomes warnings, for example: when `resources` is empty, or when `idle.path` is set to the
default `idle` path.
Co-authored-by: Jorge Aparicio <jorge@japaric.io>
Diffstat (limited to 'tests/cfail.rs')
| -rw-r--r-- | tests/cfail.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/cfail.rs b/tests/cfail.rs index 3636c72..6572d65 100644 --- a/tests/cfail.rs +++ b/tests/cfail.rs @@ -10,9 +10,8 @@ fn cfail() { let mut config = Config::default(); config.mode = Mode::CompileFail; config.src_base = PathBuf::from(format!("tests/cfail")); - config.target_rustcflags = Some( - "-C panic=abort -L target/debug -L target/debug/deps ".to_string(), - ); + config.target_rustcflags = + Some("-C panic=abort -L target/debug -L target/debug/deps ".to_string()); compiletest::run_tests(&config); } |
