Auto merge of #132854 - RalfJung:query-key-limit, r=compiler-errors
query/plumbing: adjust comment to reality
The limit for the query key size got changed recently in f51ec110a7
but the comment was not updated.
Though maybe it is time to intern `CanonicalTypeOpAscribeUserTypeGoal` rather than copying it everywhere?
r? `@lcnr`
This commit is contained in:
commit
3a258d1cf9
@ -319,7 +319,7 @@ pub fn provided_to_erased<'tcx>(
|
|||||||
|
|
||||||
pub type Storage<'tcx> = <$($K)* as keys::Key>::Cache<Erase<$V>>;
|
pub type Storage<'tcx> = <$($K)* as keys::Key>::Cache<Erase<$V>>;
|
||||||
|
|
||||||
// Ensure that keys grow no larger than 72 bytes by accident.
|
// Ensure that keys grow no larger than 80 bytes by accident.
|
||||||
// Increase this limit if necessary, but do try to keep the size low if possible
|
// Increase this limit if necessary, but do try to keep the size low if possible
|
||||||
#[cfg(target_pointer_width = "64")]
|
#[cfg(target_pointer_width = "64")]
|
||||||
const _: () = {
|
const _: () = {
|
||||||
|
Loading…
Reference in New Issue
Block a user