rust/tests/ui/path-lookahead.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
506 B
Plaintext
Raw Normal View History

warning: unnecessary parentheses around `return` value
2020-07-02 13:32:12 +08:00
--> $DIR/path-lookahead.rs:10:12
|
2020-07-02 13:32:12 +08:00
LL | return (<T as ToString>::to_string(&arg));
| ^ ^
|
2020-01-23 07:57:38 +08:00
note: the lint level is defined here
2020-07-02 13:32:12 +08:00
--> $DIR/path-lookahead.rs:5:9
|
LL | #![warn(unused_parens)]
| ^^^^^^^^^^^^^
help: remove these parentheses
|
LL - return (<T as ToString>::to_string(&arg));
LL + return <T as ToString>::to_string(&arg);
2022-06-09 01:34:57 +08:00
|
warning: 1 warning emitted