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 00:32:12 -05:00
--> $DIR/path-lookahead.rs:10:12
|
2020-07-02 00:32:12 -05:00
LL | return (<T as ToString>::to_string(&arg));
| ^ ^
|
2020-01-22 17:57:38 -06:00
note: the lint level is defined here
2020-07-02 00:32:12 -05: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-08 12:34:57 -05:00
|
warning: 1 warning emitted