bump deps #140
Annotations
4 errors and 2 warnings
this `let...else` may be rewritten with the `?` operator:
libs/common/src/reporting/mod.rs#L55
error: this `let...else` may be rewritten with the `?` operator
--> libs/common/src/reporting/mod.rs:55:9
|
55 | / let Some(token) = self.token() else {
56 | | return None;
57 | | };
| |__________^ help: replace it with: `let token = self.token()?;`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark
|
this `let...else` may be rewritten with the `?` operator:
libs/common/src/reporting/diagnostic/mod.rs#L56
error: this `let...else` may be rewritten with the `?` operator
--> libs/common/src/reporting/diagnostic/mod.rs:56:9
|
56 | / let Some(map_file) = processed.source(map_start.source()) else {
57 | | return None;
58 | | };
| |__________^ help: replace it with: `let map_file = processed.source(map_start.source())?;`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark
|
this `let...else` may be rewritten with the `?` operator:
libs/common/src/reporting/diagnostic/mod.rs#L53
error: this `let...else` may be rewritten with the `?` operator
--> libs/common/src/reporting/diagnostic/mod.rs:53:9
|
53 | / let Some(map_end) = processed.mapping(span.end) else {
54 | | return None;
55 | | };
| |__________^ help: replace it with: `let map_end = processed.mapping(span.end)?;`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark
|
this `let...else` may be rewritten with the `?` operator:
libs/common/src/reporting/diagnostic/mod.rs#L50
error: this `let...else` may be rewritten with the `?` operator
--> libs/common/src/reporting/diagnostic/mod.rs:50:9
|
50 | / let Some(map_start) = processed.mapping(span.start) else {
51 | | return None;
52 | | };
| |__________^ help: replace it with: `let map_start = processed.mapping(span.start)?;`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark
= note: `-D clippy::question-mark` implied by `-D clippy::all`
= help: to override `-D clippy::all` add `#[allow(clippy::question_mark)]`
|
function `check_expression` is never used:
libs/sqf/src/analyze/str_format.rs#L17
warning: function `check_expression` is never used
--> libs/sqf/src/analyze/str_format.rs:17:4
|
17 | fn check_expression(expression: &Expression, processed: &Processed) -> Vec<Arc<dyn Code>> {
| ^^^^^^^^^^^^^^^^
|
function `str_format` is never used:
libs/sqf/src/analyze/str_format.rs#L7
warning: function `str_format` is never used
--> libs/sqf/src/analyze/str_format.rs:7:8
|
7 | pub fn str_format(statements: &Statements, processed: &Processed) -> Vec<Arc<dyn Code>> {
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
chrome
Expired
|
275 KB |
|
firefox
Expired
|
275 KB |
|
wasm
Expired
|
273 KB |
|