-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #57272 - petrochenkov:featrecov, r=estebank
Make sure feature gate errors are recoverable (take 2) Continuation of 15cefe4. Turns out I missed the most important part - the main feature gate checking pass.
- Loading branch information
Showing
56 changed files
with
308 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
// | ||
// compile-flags: --cfg broken | ||
|
||
// https://github.com/rust-lang/rust/issues/21833#issuecomment-72353044 | ||
|
||
// compile-flags: --cfg broken | ||
|
||
#![crate_type = "lib"] | ||
#![cfg_attr(broken, no_core)] //~ ERROR no_core is experimental | ||
|
||
fn main() { } | ||
pub struct S {} |
4 changes: 2 additions & 2 deletions
4
src/test/ui/conditional-compilation/cfg-attr-multi-invalid-1.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
// | ||
// compile-flags: --cfg broken | ||
|
||
#![feature(cfg_attr_multi)] | ||
#![crate_type = "lib"] | ||
#![cfg_attr(broken, no_core, no_std)] //~ ERROR no_core is experimental | ||
|
||
fn main() { } | ||
pub struct S {} |
4 changes: 2 additions & 2 deletions
4
src/test/ui/conditional-compilation/cfg-attr-multi-invalid-2.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
// | ||
// compile-flags: --cfg broken | ||
|
||
#![feature(cfg_attr_multi)] | ||
#![crate_type = "lib"] | ||
#![cfg_attr(broken, no_std, no_core)] //~ ERROR no_core is experimental | ||
|
||
fn main() { } | ||
pub struct S {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
// only-x86_64 | ||
// ignore-tidy-linelength | ||
// gate-test-intrinsics | ||
// gate-test-platform_intrinsics | ||
|
Oops, something went wrong.