2021-11-03 22:00:00 -05:00
|
|
|
{"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));
|
2021-09-09 09:22:24 -05:00
|
|
|
| ^ ^
|
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
|
|
|
| ^^^^^^^^^^^^^
|
2021-09-09 09:22:24 -05:00
|
|
|
help: remove these parentheses
|
|
|
|
|
|
|
|
|
LL - let _a = (1 / (2 + 3));
|
|
|
|
LL + let _a = 1 / (2 + 3);
|
2022-06-08 12:34:57 -05:00
|
|
|
|
|
2017-11-17 01:55:22 -06:00
|
|
|
|
2019-10-17 12:32:04 -05: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
|
|
|
|
2019-10-17 12:32:04 -05:00
|
|
|
"}
|