1
Fork 0

tidy/features: fix checking of lang features

Removes the `STATUSES` static which duplicates truth from the pattern
match in `collect_lang_features`.

Fixes existing duplicates by renaming:
- never_type{,_impls} on `impl`s on `!`
- concat_idents{,_macro} on `macro_rules! concat_idents`

Fixes #37013.
This commit is contained in:
Tamir Duberstein 2016-10-14 18:14:29 -04:00
parent 7367db6fcc
commit bef1911b15
No known key found for this signature in database
GPG key ID: 1C1E98CC8E17BB89
5 changed files with 72 additions and 57 deletions

View file

@ -553,7 +553,7 @@ pub mod builtin {
/// For more information, see the documentation for [`std::concat_idents!`].
///
/// [`std::concat_idents!`]: ../std/macro.concat_idents.html
#[unstable(feature = "concat_idents", issue = "29599")]
#[unstable(feature = "concat_idents_macro", issue = "29599")]
#[macro_export]
macro_rules! concat_idents {
($($e:ident),*) => ({ /* compiler built-in */ })