]> git.lizzy.rs Git - rust.git/blob - src/test/ui/path-lookahead.stderr
Rollup merge of #71829 - kper:issue71136, r=matthewjasper
[rust.git] / src / test / ui / path-lookahead.stderr
1 warning: unnecessary parentheses around `return` value
2   --> $DIR/path-lookahead.rs:8:10
3    |
4 LL |   return (<T as ToString>::to_string(&arg));
5    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
6    |
7 note: the lint level is defined here
8   --> $DIR/path-lookahead.rs:3:9
9    |
10 LL | #![warn(unused_parens)]
11    |         ^^^^^^^^^^^^^
12
13 warning: 1 warning emitted
14