Combine individual limit queries into single limits
query
This commit is contained in:
parent
ff15b5e2c7
commit
7e5a88a56c
20 changed files with 75 additions and 55 deletions
|
@ -1713,25 +1713,7 @@ rustc_queries! {
|
|||
desc { "conservatively checking if {:?} is privately uninhabited", key }
|
||||
}
|
||||
|
||||
/// The maximum recursion limit for potentially infinitely recursive
|
||||
/// operations such as auto-dereference and monomorphization.
|
||||
query recursion_limit(key: ()) -> Limit {
|
||||
desc { "looking up recursion limit" }
|
||||
}
|
||||
|
||||
/// The size at which the `large_assignments` lint starts
|
||||
/// being emitted.
|
||||
query move_size_limit(key: ()) -> usize {
|
||||
desc { "looking up move size limit" }
|
||||
}
|
||||
|
||||
/// The maximum length of types during monomorphization.
|
||||
query type_length_limit(key: ()) -> Limit {
|
||||
desc { "looking up type length limit" }
|
||||
}
|
||||
|
||||
/// The maximum blocks a const expression can evaluate.
|
||||
query const_eval_limit(key: ()) -> Limit {
|
||||
desc { "looking up const eval limit" }
|
||||
query limits(key: ()) -> Limits {
|
||||
desc { "looking up limits" }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue