about summary refs log tree commit diff
path: root/src/test/ui/pattern
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2022-12-13 11:36:43 -0800
committerEsteban Küber <esteban@kuber.com.ar>2022-12-13 11:36:43 -0800
commit165efabbee6e2ea997bdbd7aee67f92554a83f80 (patch)
treef197efa29e9984d8a2d211b4b28187ebc7d1eed4 /src/test/ui/pattern
parent7d1e47aeb0bb1ad2ccf27cb62c25f4ba09d679e4 (diff)
downloadrust-165efabbee6e2ea997bdbd7aee67f92554a83f80.tar.gz
rust-165efabbee6e2ea997bdbd7aee67f92554a83f80.zip
review comments
Diffstat (limited to 'src/test/ui/pattern')
-rw-r--r--src/test/ui/pattern/pat-tuple-bad-type.stderr6
-rw-r--r--src/test/ui/pattern/rest-pat-semantic-disallowed.stderr6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/test/ui/pattern/pat-tuple-bad-type.stderr b/src/test/ui/pattern/pat-tuple-bad-type.stderr
index ff45e9fb7a3..da369d33397 100644
--- a/src/test/ui/pattern/pat-tuple-bad-type.stderr
+++ b/src/test/ui/pattern/pat-tuple-bad-type.stderr
@@ -7,10 +7,10 @@ LL |     let x;
 LL |         (..) => {}
    |         ---- type must be known at this point
    |
-help: consider giving `x` an explicit type, where the placeholder `Type` is specified
+help: consider giving `x` an explicit type
    |
-LL |     let x: Type;
-   |          ++++++
+LL |     let x: /* Type */;
+   |          ++++++++++++
 
 error[E0308]: mismatched types
   --> $DIR/pat-tuple-bad-type.rs:10:9
diff --git a/src/test/ui/pattern/rest-pat-semantic-disallowed.stderr b/src/test/ui/pattern/rest-pat-semantic-disallowed.stderr
index df0aa942fed..beba7def96f 100644
--- a/src/test/ui/pattern/rest-pat-semantic-disallowed.stderr
+++ b/src/test/ui/pattern/rest-pat-semantic-disallowed.stderr
@@ -191,10 +191,10 @@ error[E0282]: type annotations needed
 LL |     let x @ ..;
    |         ^^^^^^
    |
-help: consider giving this pattern a type, where the placeholder `Type` is specified
+help: consider giving this pattern a type
    |
-LL |     let x @ ..: Type;
-   |               ++++++
+LL |     let x @ ..: /* Type */;
+   |               ++++++++++++
 
 error: aborting due to 23 previous errors