diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2016-03-28 17:42:39 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2016-04-06 12:42:46 -0400 |
| commit | 3fb40c1d95dd3a14ad14d71e3ec847a0a102bd49 (patch) | |
| tree | 473f22d781cb174039fa85e7206b866f5218128f /src/libsyntax | |
| parent | d8263c4758e8821d87d4fc300fd30e78457c769f (diff) | |
| download | rust-3fb40c1d95dd3a14ad14d71e3ec847a0a102bd49.tar.gz rust-3fb40c1d95dd3a14ad14d71e3ec847a0a102bd49.zip | |
add code to persist graph and for unit-testing
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 5ade636a327..f08d3c685bb 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -356,6 +356,14 @@ pub const KNOWN_ATTRIBUTES: &'static [(&'static str, AttributeType, AttributeGat "the `#[rustc_if_this_changed]` attribute \ is just used for rustc unit tests \ and will never be stable")), + ("rustc_dirty", Whitelisted, Gated("rustc_attrs", + "the `#[rustc_dirty]` attribute \ + is just used for rustc unit tests \ + and will never be stable")), + ("rustc_clean", Whitelisted, Gated("rustc_attrs", + "the `#[rustc_clean]` attribute \ + is just used for rustc unit tests \ + and will never be stable")), ("rustc_symbol_name", Whitelisted, Gated("rustc_attrs", "internal rustc attributes will never be stable")), ("rustc_item_path", Whitelisted, Gated("rustc_attrs", |
