]> git.lizzy.rs Git - rust.git/blob - src/test/ui/path-lookahead.stderr
Detect pub fn attr wrong order like `async pub`
[rust.git] / src / test / ui / path-lookahead.stderr
1 warning: unnecessary parentheses around `return` value
2   --> $DIR/path-lookahead.rs:10:12
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:5:9
9    |
10 LL | #![warn(unused_parens)]
11    |         ^^^^^^^^^^^^^
12
13 warning: 1 warning emitted
14