1
Fork 0

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 223c95fd59
commit 7a8c0fc117
10 changed files with 18 additions and 18 deletions

View file

@ -1149,7 +1149,7 @@ pub static BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
"the `#[omit_gdb_pretty_printer_section]` attribute is just used for the Rust test suite",
),
rustc_attr!(
TEST, pattern_complexity, CrateLevel, template!(NameValueStr: "N"),
TEST, pattern_complexity_limit, CrateLevel, template!(NameValueStr: "N"),
ErrorFollowing, EncodeCrossCrate::No,
),
];