Skip to content

Commit a563f35

Browse files
committed
Remove irrelevant tests and unused testing attribute
1 parent fb9ca16 commit a563f35

11 files changed

+0
-535
lines changed

src/libsyntax/feature_gate.rs

-6
Original file line numberDiff line numberDiff line change
@@ -659,12 +659,6 @@ pub const BUILTIN_ATTRIBUTES: &'static [(&'static str, AttributeType, AttributeG
659659
"rustc_attrs",
660660
"internal rustc attributes will never be stable",
661661
cfg_fn!(rustc_attrs))),
662-
("rustc_move_fragments", Normal, Gated(Stability::Unstable,
663-
"rustc_attrs",
664-
"the `#[rustc_move_fragments]` attribute \
665-
is just used for rustc unit tests \
666-
and will never be stable",
667-
cfg_fn!(rustc_attrs))),
668662
("rustc_mir", Whitelisted, Gated(Stability::Unstable,
669663
"rustc_attrs",
670664
"the `#[rustc_mir]` attribute \

src/test/compile-fail/feature-gate-rustc-attrs.rs

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
#[rustc_variance] //~ ERROR the `#[rustc_variance]` attribute is just used for rustc unit tests and will never be stable
1616
#[rustc_error] //~ ERROR the `#[rustc_error]` attribute is just used for rustc unit tests and will never be stable
17-
#[rustc_move_fragments] //~ ERROR the `#[rustc_move_fragments]` attribute is just used for rustc unit tests and will never be stable
1817
#[rustc_foo]
1918
//~^ ERROR unless otherwise specified, attributes with the prefix `rustc_` are reserved for internal compiler diagnostics
2019

src/test/compile-fail/move-fragments-1.rs

-58
This file was deleted.

src/test/compile-fail/move-fragments-2.rs

-87
This file was deleted.

src/test/compile-fail/move-fragments-3.rs

-49
This file was deleted.

src/test/compile-fail/move-fragments-4.rs

-41
This file was deleted.

src/test/compile-fail/move-fragments-5.rs

-94
This file was deleted.

0 commit comments

Comments
 (0)