We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Parser
1 parent f1c32c1 commit 804103bCopy full SHA for 804103b
compiler/rustc_parse/src/parser/mod.rs
@@ -150,6 +150,11 @@ pub struct Parser<'a> {
150
pub current_closure: Option<ClosureSpans>,
151
}
152
153
+// This type is used a lot, e.g. it's cloned when matching many declarative macro rules. Make sure
154
+// it doesn't unintentionally get bigger.
155
+#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
156
+rustc_data_structures::static_assert_size!(Parser<'_>, 328);
157
+
158
/// Stores span information about a closure.
159
#[derive(Clone)]
160
pub struct ClosureSpans {
0 commit comments