]> git.lizzy.rs Git - rust.git/blob - tests/ui/path-lookahead.stderr
Merge commit '598f0909568a51de8a2d1148f55a644fd8dffad0' into sync_cg_clif-2023-01-24
[rust.git] / tests / 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    |            ^                                ^
6    |
7 note: the lint level is defined here
8   --> $DIR/path-lookahead.rs:5:9
9    |
10 LL | #![warn(unused_parens)]
11    |         ^^^^^^^^^^^^^
12 help: remove these parentheses
13    |
14 LL -     return (<T as ToString>::to_string(&arg));
15 LL +     return <T as ToString>::to_string(&arg);
16    |
17
18 warning: 1 warning emitted
19