diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2018-10-31 13:08:01 +0100 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2018-11-07 13:09:52 +0100 |
| commit | a2e090624e2246f628786a19581d9aa53d7b2ad0 (patch) | |
| tree | 032ae8c5bb7f62c55fffd2ecf2240bf52203a241 /src/test/ui/lint/lint-unknown-feature-default.rs | |
| parent | 0332a39f07f259fc346be91d2cb41d58e8a968b7 (diff) | |
| download | rust-a2e090624e2246f628786a19581d9aa53d7b2ad0.tar.gz rust-a2e090624e2246f628786a19581d9aa53d7b2ad0.zip | |
Removed `#[rustc_error]` from tests that are all `// compile-pass`.
I also added `// skip-codegen` to each one, to address potential concerns that this change would otherwise slow down our test suite spending time generating code for files that are really just meant to be checks of compiler diagnostics. (However, I will say: My preference is to not use `// skip-codegen` if one can avoid it. We can use all the testing of how we drive LLVM that we can get...) (Updated post rebase.)
Diffstat (limited to 'src/test/ui/lint/lint-unknown-feature-default.rs')
| -rw-r--r-- | src/test/ui/lint/lint-unknown-feature-default.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/ui/lint/lint-unknown-feature-default.rs b/src/test/ui/lint/lint-unknown-feature-default.rs index 5a0568f05e6..cfab640ad4e 100644 --- a/src/test/ui/lint/lint-unknown-feature-default.rs +++ b/src/test/ui/lint/lint-unknown-feature-default.rs @@ -14,7 +14,7 @@ // FIXME(#44232) we should warn that this isn't used. #![feature(rust1)] -#![feature(rustc_attrs)] +// compile-pass -#[rustc_error] -fn main() { } //~ ERROR: compilation successful + +fn main() { } |
