rust/src/test/ui/lint/unused_parens_json_suggestion.stderr

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

22 lines
880 B
Plaintext
Raw Normal View History

{"message":"unnecessary parentheses around assigned value","code":{"code":"unused_parens","explanation":null},"level":"error","spans":[{"file_name":"$DIR/unused_parens_json_suggestion.rs","byte_start":577,"byte_end":578,"line_start":16,"line_end":16,"column_start":14,"column_end":15,"is_primary":true,"text":[{"text":" let _a = (1 / (2 + 3));
2019-10-17 12:15:42 -05:00
--> $DIR/unused_parens_json_suggestion.rs:16:14
2017-11-17 01:55:22 -06:00
|
2018-02-22 18:42:32 -06:00
LL | let _a = (1 / (2 + 3));
| ^ ^
2017-11-17 01:55:22 -06:00
|
2020-01-22 17:57:38 -06:00
note: the lint level is defined here
2019-10-17 12:15:42 -05:00
--> $DIR/unused_parens_json_suggestion.rs:10:9
2017-11-17 01:55:22 -06:00
|
2019-10-17 12:15:42 -05:00
LL | #![deny(unused_parens)]
2017-11-17 01:55:22 -06:00
| ^^^^^^^^^^^^^
help: remove these parentheses
|
LL - let _a = (1 / (2 + 3));
LL + let _a = 1 / (2 + 3);
|
2017-11-17 01:55:22 -06:00
"}
{"message":"aborting due to previous error","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to previous error
2019-10-17 12:15:42 -05:00
"}