Skip to content

Commit 9c49f40

Browse files
committed
Auto merge of #46532 - est31:master, r=est31
Allow feature-gate tests to live in ui/ and migrate most of the tests from compile-fail The PR consists of three commits: 1. change tidy to allow feature-gate tests to live in ui/ 2. migrate some feature gate tests to ui/ with renaming only 3. migrate some feature gate tests to ui/ with also removing `// gate-test-...` lines and renaming them to the standard `feature-gate-<feat-name>.rs` format.
2 parents a8437a0 + 6dba3e6 commit 9c49f40

File tree

277 files changed

+4534
-73
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

277 files changed

+4534
-73
lines changed

src/test/compile-fail/no-core-gated.rs

-15
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
error: msp430-interrupt ABI is experimental and subject to change (see issue #38487)
2+
--> $DIR/feature-gate-abi-msp430-interrupt.rs:14:1
3+
|
4+
14 | extern "msp430-interrupt" fn foo() {}
5+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6+
|
7+
= help: add #![feature(abi_msp430_interrupt)] to the crate attributes to enable
8+
9+
error: aborting due to previous error
10+

0 commit comments

Comments
 (0)