rust/tests/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
879 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 19:15:42 +02:00
--> $DIR/unused_parens_json_suggestion.rs:16:14
2017-11-17 08:55:22 +01:00
|
2018-02-23 03:42:32 +03:00
LL | let _a = (1 / (2 + 3));
| ^ ^
2017-11-17 08:55:22 +01:00
|
2020-01-22 23:57:38 +00:00
note: the lint level is defined here
2019-10-17 19:15:42 +02:00
--> $DIR/unused_parens_json_suggestion.rs:10:9
2017-11-17 08:55:22 +01:00
|
2019-10-17 19:15:42 +02:00
LL | #![deny(unused_parens)]
2017-11-17 08:55:22 +01:00
| ^^^^^^^^^^^^^
help: remove these parentheses
|
LL - let _a = (1 / (2 + 3));
LL + let _a = 1 / (2 + 3);
2022-06-08 20:34:57 +03:00
|
2017-11-17 08:55:22 +01:00
"}
{"message":"aborting due to previous error","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to previous error
2019-10-17 19:15:42 +02:00
"}