1 warning: unnecessary parentheses around `return` value
2 --> $DIR/path-lookahead.rs:18:10
4 18 | return (<T as ToString>::to_string(&arg)); //~WARN unnecessary parentheses around `return` value
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
7 = note: #[warn(unused_parens)] on by default
9 warning: function is never used: `with_parens`
10 --> $DIR/path-lookahead.rs:17:1
12 17 | fn with_parens<T: ToString>(arg: T) -> String { //~WARN function is never used: `with_parens`
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15 note: lint level defined here
16 --> $DIR/path-lookahead.rs:13:9
20 = note: #[warn(dead_code)] implied by #[warn(unused)]
22 warning: function is never used: `no_parens`
23 --> $DIR/path-lookahead.rs:21:1
25 21 | fn no_parens<T: ToString>(arg: T) -> String { //~WARN function is never used: `no_parens`
26 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^