code: Events and SM improvements #131
Annotations
1 error and 1 warning
Clippy:
test/tests/round.rs#L18
error: field assignment outside of initializer for an instance created with Default::default()
--> test/tests/round.rs:18:5
|
18 | state.round = round;
| ^^^^^^^^^^^^^^^^^^^^
|
note: consider initializing the variable with `State::<malachite_test::TestContext> { round: round, ..Default::default() }` and removing relevant reassignments
--> test/tests/round.rs:17:5
|
17 | let mut state: State<TestContext> = State::default();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default
= note: `-D clippy::field-reassign-with-default` implied by `-D warnings`
|
Clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy@master. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|