Skip to content

Commit 3a258d1

Browse files
committed
Auto merge of rust-lang#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 rust-lang@f51ec11 but the comment was not updated. Though maybe it is time to intern `CanonicalTypeOpAscribeUserTypeGoal` rather than copying it everywhere? r? `@lcnr`
2 parents fbcdd72 + c8058c8 commit 3a258d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/query/plumbing.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ macro_rules! define_callbacks {
319319

320320
pub type Storage<'tcx> = <$($K)* as keys::Key>::Cache<Erase<$V>>;
321321

322-
// Ensure that keys grow no larger than 72 bytes by accident.
322+
// Ensure that keys grow no larger than 80 bytes by accident.
323323
// Increase this limit if necessary, but do try to keep the size low if possible
324324
#[cfg(target_pointer_width = "64")]
325325
const _: () = {

0 commit comments

Comments
 (0)