about summary refs log tree commit diff
path: root/src/test/ui/parser
diff options
context:
space:
mode:
authorReese Williams <reese@reesew.io>2021-02-14 13:14:11 -0500
committerReese Williams <reese@reesew.io>2021-02-14 13:15:37 -0500
commit7879099ad3ef6c84d8df96521c30b7bf4c573615 (patch)
tree7e0f91902509509f34936b59decac7ea70928d87 /src/test/ui/parser
parent8a83c8f64f717f7cf569f589b42c6535591f8854 (diff)
downloadrust-7879099ad3ef6c84d8df96521c30b7bf4c573615.tar.gz
rust-7879099ad3ef6c84d8df96521c30b7bf4c573615.zip
Clarify error message and remove pretty printing in help suggestions.
Diffstat (limited to 'src/test/ui/parser')
-rw-r--r--src/test/ui/parser/recover-from-bad-variant.stderr4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/ui/parser/recover-from-bad-variant.stderr b/src/test/ui/parser/recover-from-bad-variant.stderr
index 89232a519d7..86086cf97ec 100644
--- a/src/test/ui/parser/recover-from-bad-variant.stderr
+++ b/src/test/ui/parser/recover-from-bad-variant.stderr
@@ -22,7 +22,9 @@ error[E0769]: tuple variant `Enum::Bar` written as struct variant
   --> $DIR/recover-from-bad-variant.rs:12:9
    |
 LL |         Enum::Bar { a, b } => {}
-   |         ^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Enum::Bar(a, b)`
+   |         ---------^^^^^^^^^
+   |         |
+   |         help: use the tuple variant pattern syntax instead: `(a, b)`
 
 error: aborting due to 3 previous errors