about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-11-11 05:17:13 +0000
committerbors <bors@rust-lang.org>2024-11-11 05:17:13 +0000
commit3a258d1cf9d52831820c223018fd74b208b5c65a (patch)
tree8f23696abbcaab2e406ae36a14ea862667b42a7c /compiler
parentfbcdd728ed41a4b5bf314ae7ed18a435a4cc0c34 (diff)
parentc8058c81bffcf8dae340d6fdd9f8650227738189 (diff)
downloadrust-3a258d1cf9d52831820c223018fd74b208b5c65a.tar.gz
rust-3a258d1cf9d52831820c223018fd74b208b5c65a.zip
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 https://github.com/rust-lang/rust/commit/f51ec110a714fea09105586b26c7f8e6a2a57018 but the comment was not updated.

Though maybe it is time to intern `CanonicalTypeOpAscribeUserTypeGoal` rather than copying it everywhere?

r? `@lcnr`
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_middle/src/query/plumbing.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/query/plumbing.rs b/compiler/rustc_middle/src/query/plumbing.rs
index 57da5b39ba7..20ba1b27c0e 100644
--- a/compiler/rustc_middle/src/query/plumbing.rs
+++ b/compiler/rustc_middle/src/query/plumbing.rs
@@ -319,7 +319,7 @@ macro_rules! define_callbacks {
 
                 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
                 #[cfg(target_pointer_width = "64")]
                 const _: () = {