]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/pattern/rest-pat-semantic-disallowed.stderr
Suggest `collect`ing into `Vec<_>`
[rust.git] / src / test / ui / pattern / rest-pat-semantic-disallowed.stderr
index e6a4e5f19b716ecd44949a0fe713ab756944fc41..5bf168a57115d2039451241d83ce5a4e408ab78a 100644 (file)
@@ -191,7 +191,7 @@ error[E0282]: type annotations needed
 LL |     let x @ ..;
    |         ^^^^^^
    |
-help: consider giving this pattern a type
+help: consider giving this pattern a type, where the placeholders `_` are specified
    |
 LL |     let x @ ..: _;
    |               +++