1
Fork 0

Revert "Add rustc lint, warning when iterating over hashmaps"

This commit is contained in:
Mark Rousskov 2021-10-28 11:01:42 -04:00 committed by GitHub
parent f2707fec04
commit 3215eeb99f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
43 changed files with 68 additions and 299 deletions

View file

@ -460,9 +460,6 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
// Prevents field reads in the marked trait or method to be considered
// during dead code analysis.
rustc_attr!(rustc_trivial_field_reads, Normal, template!(Word), INTERNAL_UNSTABLE),
// Used by the `rustc::potential_query_instability` lint to warn methods which
// might not be stable during incremental compilation.
rustc_attr!(rustc_lint_query_instability, Normal, template!(Word), INTERNAL_UNSTABLE),
// ==========================================================================
// Internal attributes, Const related: