Rename pattern_complexity attr as pattern_complexity_limit.

For consistency with `recursion_limit`, `move_size_limit`, and
`type_length_limit`.
This commit is contained in:
Nicholas Nethercote 2025-02-07 15:58:00 +11:00
parent 30bcf2a6b5
commit 610f4c4046

View file

@ -9107,8 +9107,8 @@ The tracking issue for this feature is: [#27721]
deny_since: None, deny_since: None,
}, },
Lint { Lint {
label: "pattern_complexity", label: "pattern_complexity_limit",
description: r##"# `pattern_complexity` description: r##"# `pattern_complexity_limit`
This feature has no tracking issue, and is therefore likely internal to the compiler, not being intended for general use. This feature has no tracking issue, and is therefore likely internal to the compiler, not being intended for general use.