We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
PResult<()>
1 parent a8dfa37 commit f5a3271Copy full SHA for f5a3271
compiler/rustc_errors/src/lib.rs
@@ -56,6 +56,8 @@ pub type PResult<'a, T> = Result<T, DiagnosticBuilder<'a>>;
56
// `PResult` is used a lot. Make sure it doesn't unintentionally get bigger.
57
// (See also the comment on `DiagnosticBuilder`'s `diagnostic` field.)
58
#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
59
+rustc_data_structures::static_assert_size!(PResult<'_, ()>, 16);
60
+#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
61
rustc_data_structures::static_assert_size!(PResult<'_, bool>, 24);
62
63
#[derive(Debug, PartialEq, Eq, Clone, Copy, Hash, Encodable, Decodable)]
0 commit comments