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