diff options
| author | Martin Nordholts <martin.nordholts@codetale.se> | 2023-12-12 16:09:50 +0100 |
|---|---|---|
| committer | Martin Nordholts <martin.nordholts@codetale.se> | 2023-12-14 16:49:18 +0100 |
| commit | 2ddd8b4f190822ab4805bae7008264eb118ba748 (patch) | |
| tree | 759a48b9e76773e765c3a7634ca95ac5490f8731 /compiler/rustc_codegen_ssa/src/assert_module_sources.rs | |
| parent | 5b8bc568d28b2e922290c9a966b3231d0ce9398b (diff) | |
| download | rust-2ddd8b4f190822ab4805bae7008264eb118ba748.tar.gz rust-2ddd8b4f190822ab4805bae7008264eb118ba748.zip | |
rustc_codegen_ssa: Remove trailing spaces in Display impl for CguReuse
Otherwise errors will look like this:
error: CGU-reuse for `cgu_invalidated_via_import-bar` is `PreLto ` but should be `PostLto `
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/assert_module_sources.rs')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/assert_module_sources.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_ssa/src/assert_module_sources.rs b/compiler/rustc_codegen_ssa/src/assert_module_sources.rs index 3d479c5c22d..01d1b1059b9 100644 --- a/compiler/rustc_codegen_ssa/src/assert_module_sources.rs +++ b/compiler/rustc_codegen_ssa/src/assert_module_sources.rs @@ -199,8 +199,8 @@ impl fmt::Display for CguReuse { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { match *self { CguReuse::No => write!(f, "No"), - CguReuse::PreLto => write!(f, "PreLto "), - CguReuse::PostLto => write!(f, "PostLto "), + CguReuse::PreLto => write!(f, "PreLto"), + CguReuse::PostLto => write!(f, "PostLto"), } } } |
