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

17 lines
805 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":596,"byte_end":609,"line_start":16,"line_end":16,"column_start":14,"column_end":27,"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
| ^^^^^^^^^^^^^ help: remove these parentheses
|
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
| ^^^^^^^^^^^^^
"}
{"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
"}