Skip to content

Commit

Permalink
Remove irrelevant tests and unused testing attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
Nashenas88 committed May 25, 2017
1 parent fb9ca16 commit a563f35
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 535 deletions.
6 changes: 0 additions & 6 deletions src/libsyntax/feature_gate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -659,12 +659,6 @@ pub const BUILTIN_ATTRIBUTES: &'static [(&'static str, AttributeType, AttributeG
"rustc_attrs",
"internal rustc attributes will never be stable",
cfg_fn!(rustc_attrs))),
("rustc_move_fragments", Normal, Gated(Stability::Unstable,
"rustc_attrs",
"the `#[rustc_move_fragments]` attribute \
is just used for rustc unit tests \
and will never be stable",
cfg_fn!(rustc_attrs))),
("rustc_mir", Whitelisted, Gated(Stability::Unstable,
"rustc_attrs",
"the `#[rustc_mir]` attribute \
Expand Down
1 change: 0 additions & 1 deletion src/test/compile-fail/feature-gate-rustc-attrs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

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

Expand Down
58 changes: 0 additions & 58 deletions src/test/compile-fail/move-fragments-1.rs

This file was deleted.

87 changes: 0 additions & 87 deletions src/test/compile-fail/move-fragments-2.rs

This file was deleted.

49 changes: 0 additions & 49 deletions src/test/compile-fail/move-fragments-3.rs

This file was deleted.

41 changes: 0 additions & 41 deletions src/test/compile-fail/move-fragments-4.rs

This file was deleted.

94 changes: 0 additions & 94 deletions src/test/compile-fail/move-fragments-5.rs

This file was deleted.

Loading

0 comments on commit a563f35

Please sign in to comment.