X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftest%2Fui%2Fspan%2Ftype-annotations-needed-expr.stderr;h=bc1c2f6164b61001079edcb66b9ef476b5dcc218;hb=33b06362fa9207ec1beae209a39d974f6c471206;hp=1efb2720e0c555531892c49961ca65f1a1c58532;hpb=cca4b6d42ad984a28b9eb2dc3f62590cfc7ef421;p=rust.git diff --git a/src/test/ui/span/type-annotations-needed-expr.stderr b/src/test/ui/span/type-annotations-needed-expr.stderr index 1efb2720e0c..bc1c2f6164b 100644 --- a/src/test/ui/span/type-annotations-needed-expr.stderr +++ b/src/test/ui/span/type-annotations-needed-expr.stderr @@ -5,7 +5,7 @@ LL | let _ = (vec![1,2,3]).into_iter().sum() as f64; | ^^^ | | | cannot infer type for `S` - | help: consider specifying the type argument in the method call: `sum::<_>` + | help: consider specifying the type argument in the method call: `sum::` | = note: type must be known at this point