]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/question-mark-type-infer.stderr
Use the appropriate number of type arguments in suggestion
[rust.git] / src / test / ui / question-mark-type-infer.stderr
index d32d94976451ab6791c74cda487928efd8d2c28f..7911701946cd3db3723e6372177ca6732a3181c4 100644 (file)
@@ -5,7 +5,7 @@ LL |     l.iter().map(f).collect()?
    |                     ^^^^^^^
    |                     |
    |                     cannot infer type
-   |                     help: consider specifying the type argument in the method call: `collect::<_>`
+   |                     help: consider specifying the type argument in the method call: `collect::<B>`
    |
    = note: cannot resolve `<_ as std::ops::Try>::Ok == _`