fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
354 B12 linesraw
1warning: unnecessary parentheses around `return` value
2  --> $DIR/path-lookahead.rs:8:10
3   |
4LL |   return (<T as ToString>::to_string(&arg));
5   |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
6   |
7note: lint level defined here
8  --> $DIR/path-lookahead.rs:3:9
9   |
10LL | #![warn(unused_parens)]
11   |         ^^^^^^^^^^^^^
12