about summary refs log tree commit diff
path: root/src/test/ui/array-slice-vec
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/array-slice-vec
parent7d1e47aeb0bb1ad2ccf27cb62c25f4ba09d679e4 (diff)
downloadrust-165efabbee6e2ea997bdbd7aee67f92554a83f80.tar.gz
rust-165efabbee6e2ea997bdbd7aee67f92554a83f80.zip
review comments
Diffstat (limited to 'src/test/ui/array-slice-vec')
-rw-r--r--src/test/ui/array-slice-vec/infer_array_len.stderr6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/ui/array-slice-vec/infer_array_len.stderr b/src/test/ui/array-slice-vec/infer_array_len.stderr
index 11a07164e8c..c2a509a1963 100644
--- a/src/test/ui/array-slice-vec/infer_array_len.stderr
+++ b/src/test/ui/array-slice-vec/infer_array_len.stderr
@@ -4,10 +4,10 @@ error[E0282]: type annotations needed
 LL |     let [_, _] = a.into();
    |         ^^^^^^
    |
-help: consider giving this pattern a type, where the placeholder `Type` is specified
+help: consider giving this pattern a type
    |
-LL |     let [_, _]: Type = a.into();
-   |               ++++++
+LL |     let [_, _]: /* Type */ = a.into();
+   |               ++++++++++++
 
 error: aborting due to previous error