1 warning: unnecessary parentheses around `return` value
2 --> $DIR/path-lookahead.rs:8:10
4 LL | return (<T as ToString>::to_string(&arg));
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
7 note: lint level defined here
8 --> $DIR/path-lookahead.rs:3:9
12 = note: #[warn(unused_parens)] implied by #[warn(unused)]
14 warning: function is never used: `with_parens`
15 --> $DIR/path-lookahead.rs:7:1
17 LL | fn with_parens<T: ToString>(arg: T) -> String {
18 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20 note: lint level defined here
21 --> $DIR/path-lookahead.rs:3:9
25 = note: #[warn(dead_code)] implied by #[warn(unused)]
27 warning: function is never used: `no_parens`
28 --> $DIR/path-lookahead.rs:11:1
30 LL | fn no_parens<T: ToString>(arg: T) -> String {
31 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^