]>
Commit | Line | Data |
---|---|---|
7cac9316 | 1 | warning: unnecessary parentheses around `return` value |
0731742a | 2 | --> $DIR/path-lookahead.rs:8:10 |
7cac9316 | 3 | | |
532ac7d7 | 4 | LL | return (<T as ToString>::to_string(&arg)); |
ea8adc8c | 5 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses |
7cac9316 | 6 | | |
abe05a73 | 7 | note: lint level defined here |
0731742a | 8 | --> $DIR/path-lookahead.rs:3:9 |
abe05a73 | 9 | | |
60c5eb7d XL |
10 | LL | #![warn(unused_parens)] |
11 | | ^^^^^^^^^^^^^ | |
7cac9316 | 12 |