]> git.proxmox.com Git - rustc.git/blame - src/test/ui/path-lookahead.stderr
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / ui / path-lookahead.stderr
CommitLineData
7cac9316 1warning: unnecessary parentheses around `return` value
f035d41b 2 --> $DIR/path-lookahead.rs:10:12
7cac9316 3 |
f035d41b 4LL | return (<T as ToString>::to_string(&arg));
c295e0f8 5 | ^ ^
7cac9316 6 |
74b04a01 7note: the lint level is defined here
f035d41b 8 --> $DIR/path-lookahead.rs:5:9
abe05a73 9 |
60c5eb7d
XL
10LL | #![warn(unused_parens)]
11 | ^^^^^^^^^^^^^
c295e0f8
XL
12help: remove these parentheses
13 |
14LL - return (<T as ToString>::to_string(&arg));
15LL + return <T as ToString>::to_string(&arg);
923072b8 16 |
7cac9316 17
ba9703b0
XL
18warning: 1 warning emitted
19