diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-02-07 15:58:00 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-02-17 09:30:40 +1100 |
| commit | 7a8c0fc117a4d866ea0c362cc173f90c7bf14dd6 (patch) | |
| tree | 935b49ce6f134e854901c76ecdfac75d6ab4d71b /compiler/rustc_interface/src/limits.rs | |
| parent | 223c95fd59f361ff482bf26434900fc8f72fbe04 (diff) | |
| download | rust-7a8c0fc117a4d866ea0c362cc173f90c7bf14dd6.tar.gz rust-7a8c0fc117a4d866ea0c362cc173f90c7bf14dd6.zip | |
Rename `pattern_complexity` attr as `pattern_complexity_limit`.
For consistency with `recursion_limit`, `move_size_limit`, and `type_length_limit`.
Diffstat (limited to 'compiler/rustc_interface/src/limits.rs')
| -rw-r--r-- | compiler/rustc_interface/src/limits.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/limits.rs b/compiler/rustc_interface/src/limits.rs index 08d155a2c23..3de513797e3 100644 --- a/compiler/rustc_interface/src/limits.rs +++ b/compiler/rustc_interface/src/limits.rs @@ -36,7 +36,7 @@ pub(crate) fn provide(providers: &mut Providers) { pattern_complexity_limit: get_limit( tcx.hir().krate_attrs(), tcx.sess, - sym::pattern_complexity, + sym::pattern_complexity_limit, Limit::unlimited(), ), } |
