Create rustdoc_internals feature gate
This commit is contained in:
parent
e8423e6c44
commit
1e6ced3532
17 changed files with 30 additions and 36 deletions
|
@ -963,7 +963,7 @@ impl CheckAttrVisitor<'tcx> {
|
|||
}
|
||||
|
||||
sym::primitive => {
|
||||
if !self.tcx.features().doc_primitive {
|
||||
if !self.tcx.features().rustdoc_internals {
|
||||
self.tcx.struct_span_lint_hir(
|
||||
INVALID_DOC_ATTRIBUTES,
|
||||
hir_id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue