diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-09-30 23:38:27 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-30 23:38:27 +0200 |
| commit | eaf1c7a0da0bb86eeaf983b8ad05ae471477bb84 (patch) | |
| tree | 2eaee2a3ee1385f96a2230ab8873f8d2c20562ec /compiler/rustc_errors/src | |
| parent | 842a7d34f52b6cd644905222192b7f653e6fcdbe (diff) | |
| parent | 5ab68a82d592c43f7699d739003a4a7680f35e8f (diff) | |
| download | rust-eaf1c7a0da0bb86eeaf983b8ad05ae471477bb84.tar.gz rust-eaf1c7a0da0bb86eeaf983b8ad05ae471477bb84.zip | |
Rollup merge of #102493 - nnethercote:improve-size-assertions-some-more, r=lqd
Group together more size assertions. Also add a few more assertions for some relevant token-related types. And fix an erroneous comment in `rustc_errors`. r? `@lqd`
Diffstat (limited to 'compiler/rustc_errors/src')
| -rw-r--r-- | compiler/rustc_errors/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/lib.rs b/compiler/rustc_errors/src/lib.rs index a27c88a2a41..c6ede209e65 100644 --- a/compiler/rustc_errors/src/lib.rs +++ b/compiler/rustc_errors/src/lib.rs @@ -66,7 +66,7 @@ pub type PErr<'a> = DiagnosticBuilder<'a, ErrorGuaranteed>; pub type PResult<'a, T> = Result<T, PErr<'a>>; // `PResult` is used a lot. Make sure it doesn't unintentionally get bigger. -// (See also the comment on `DiagnosticBuilder`'s `diagnostic` field.) +// (See also the comment on `DiagnosticBuilderInner`'s `diagnostic` field.) #[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] rustc_data_structures::static_assert_size!(PResult<'_, ()>, 16); #[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] |
