Update src/librustdoc/core.rs

This commit is contained in:
Niko Matsakis 2020-05-28 13:23:33 -04:00 committed by GitHub
parent db684beb4e
commit 0e3b31c641
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -228,7 +228,7 @@ pub fn init_lints<F>(
// Whitelist feature-gated lints to avoid feature errors when trying to
// allow all lints.
// FIXME(LeSeulArtichaut): handle feature-gated lints properly.
// FIXME(#72694): handle feature-gated lints properly.
let unsafe_op_in_unsafe_fn_name = rustc_lint::builtin::UNSAFE_OP_IN_UNSAFE_FN.name;
whitelisted_lints.push(warnings_lint_name.to_owned());