about summary refs log tree commit diff
path: root/src/test/ui/empty/empty-struct-unit-expr.stderr
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-06-17 17:30:16 +0000
committerbors <bors@rust-lang.org>2022-06-17 17:30:16 +0000
commit0cb9899e780bcefb9008088c1e6d6cd5fe2593b4 (patch)
tree99ff5236e8bf7662db9f6071acec6369d560272f /src/test/ui/empty/empty-struct-unit-expr.stderr
parent43c47db0b04627dbd0e16a1e7cad14a4a5a60d3a (diff)
parent6fc412fb73e64c22e028b082d05c4b31c6b96a17 (diff)
Auto merge of #97892 - klensy:fix-spaces, r=oli-obk
diagnostics: remove trailing spaces

Remove few occurrences of trailing spaces and drive by fix of needless alloc of const string.
Diffstat (limited to 'src/test/ui/empty/empty-struct-unit-expr.stderr')
-rw-r--r--src/test/ui/empty/empty-struct-unit-expr.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/empty/empty-struct-unit-expr.stderr b/src/test/ui/empty/empty-struct-unit-expr.stderr
index 81651c5bf6f..c15253ba9cd 100644
--- a/src/test/ui/empty/empty-struct-unit-expr.stderr
+++ b/src/test/ui/empty/empty-struct-unit-expr.stderr
@@ -24,7 +24,7 @@ help: `E::Empty4` is a unit variant, you need to write it without the parenthese
    |
 LL -     let e4 = E::Empty4();
 LL +     let e4 = E::Empty4;
-   | 
+   |
 
 error[E0618]: expected function, found `empty_struct::XEmpty2`
   --> $DIR/empty-struct-unit-expr.rs:18:15
@@ -46,7 +46,7 @@ help: `XE::XEmpty4` is a unit variant, you need to write it without the parenthe
    |
 LL -     let xe4 = XE::XEmpty4();
 LL +     let xe4 = XE::XEmpty4;
-   | 
+   |
 
 error: aborting due to 4 previous errors