Auto merge of #49757 - GuillaumeGomez:never-search, r=QuietMisdreavus
Add specific never search Fixes #49529. r? @QuietMisdreavus
This commit is contained in:
commit
bbdd1cf744
22 changed files with 293 additions and 11 deletions
|
|
@ -463,6 +463,9 @@ declare_features! (
|
|||
(active, proc_macro_mod, "1.27.0", None, None),
|
||||
(active, proc_macro_expr, "1.27.0", None, None),
|
||||
(active, proc_macro_non_items, "1.27.0", None, None),
|
||||
|
||||
// #[doc(alias = "...")]
|
||||
(active, doc_alias, "1.27.0", Some(50146), None),
|
||||
);
|
||||
|
||||
declare_features! (
|
||||
|
|
@ -1458,6 +1461,10 @@ impl<'a> Visitor<'a> for PostExpansionVisitor<'a> {
|
|||
gate_feature_post!(&self, doc_spotlight, attr.span,
|
||||
"#[doc(spotlight)] is experimental"
|
||||
);
|
||||
} else if content.iter().any(|c| c.check_name("alias")) {
|
||||
gate_feature_post!(&self, doc_alias, attr.span,
|
||||
"#[doc(alias = \"...\")] is experimental"
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue