Check for duplicate attributes.
This commit is contained in:
parent
cc946fcd32
commit
67a5b193c1
6 changed files with 792 additions and 174 deletions
|
@ -11,6 +11,7 @@
|
|||
//! even if it is stabilized or removed, *do not remove it*. Instead, move the
|
||||
//! symbol to the `accepted` or `removed` modules respectively.
|
||||
|
||||
#![feature(derive_default_enum)]
|
||||
#![feature(once_cell)]
|
||||
|
||||
mod accepted;
|
||||
|
@ -146,6 +147,7 @@ pub fn find_feature_issue(feature: Symbol, issue: GateIssue) -> Option<NonZeroU3
|
|||
|
||||
pub use accepted::ACCEPTED_FEATURES;
|
||||
pub use active::{Features, ACTIVE_FEATURES, INCOMPATIBLE_FEATURES};
|
||||
pub use builtin_attrs::AttributeDuplicates;
|
||||
pub use builtin_attrs::{
|
||||
deprecated_attributes, find_gated_cfg, is_builtin_attr_name, AttributeGate, AttributeTemplate,
|
||||
AttributeType, BuiltinAttribute, GatedCfg, BUILTIN_ATTRIBUTES, BUILTIN_ATTRIBUTE_MAP,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue