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:
parent
223c95fd59
commit
7a8c0fc117
10 changed files with 18 additions and 18 deletions
|
@ -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(),
|
||||
),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue