blob: 2cc786fd947c2cea42fc71a4d6b015967419fc42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
warning: unnecessary parentheses around `return` value
--> $DIR/path-lookahead.rs:10:12
|
LL | return (<T as ToString>::to_string(&arg));
| ^ ^
|
note: the lint level is defined here
--> $DIR/path-lookahead.rs:5:9
|
LL | #![warn(unused_parens)]
| ^^^^^^^^^^^^^
help: remove these parentheses
|
LL - return (<T as ToString>::to_string(&arg));
LL + return <T as ToString>::to_string(&arg);
|
warning: 1 warning emitted
|