We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
NamedMatchVec
1 parent a4a5e79 commit 904e70aCopy full SHA for 904e70a
compiler/rustc_expand/src/mbe/macro_parser.rs
@@ -103,6 +103,10 @@ struct MatcherTtFrame<'tt> {
103
104
type NamedMatchVec = SmallVec<[NamedMatch; 4]>;
105
106
+// This type is used a lot. Make sure it doesn't unintentionally get bigger.
107
+#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
108
+rustc_data_structures::static_assert_size!(NamedMatchVec, 72);
109
+
110
/// Represents a single "position" (aka "matcher position", aka "item"), as
111
/// described in the module documentation.
112
#[derive(Clone)]
0 commit comments