update: update Rust, deps, fix a provenance issue #119
Annotations
13 warnings
|
manual implementation of `.is_multiple_of()`:
src/repl/vm.rs#L29
warning: manual implementation of `.is_multiple_of()`
--> src/repl/vm.rs:29:8
|
29 | if (len % mem::V4KA::SIZE) != 0 {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `!len.is_multiple_of(mem::V4KA::SIZE)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of
|
|
manual implementation of `.is_multiple_of()`:
src/repl/vm.rs#L26
warning: manual implementation of `.is_multiple_of()`
--> src/repl/vm.rs:26:8
|
26 | if (addr % mem::V4KA::SIZE) != 0 {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `!addr.is_multiple_of(mem::V4KA::SIZE)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of
|
|
manual implementation of `.is_multiple_of()`:
src/mmu.rs#L1145
warning: manual implementation of `.is_multiple_of()`
--> src/mmu.rs:1145:20
|
1145 | && start % PFN4K::SIZE == 0
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `start.is_multiple_of(PFN4K::SIZE)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of
|
|
manual implementation of `.is_multiple_of()`:
src/mmu.rs#L1138
warning: manual implementation of `.is_multiple_of()`
--> src/mmu.rs:1138:20
|
1138 | && start % PFN2M::SIZE == 0
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `start.is_multiple_of(PFN2M::SIZE)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of
|
|
manual implementation of `.is_multiple_of()`:
src/mmu.rs#L1131
warning: manual implementation of `.is_multiple_of()`
--> src/mmu.rs:1131:20
|
1131 | && start % PFN1G::SIZE == 0
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `start.is_multiple_of(PFN1G::SIZE)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of
|
|
manual implementation of `.is_multiple_of()`:
src/mmu.rs#L1096
warning: manual implementation of `.is_multiple_of()`
--> src/mmu.rs:1096:20
|
1096 | && (pa as usize) % PFN4K::SIZE == 0
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `(pa as usize).is_multiple_of(PFN4K::SIZE)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of
|
|
manual implementation of `.is_multiple_of()`:
src/mmu.rs#L1095
warning: manual implementation of `.is_multiple_of()`
--> src/mmu.rs:1095:20
|
1095 | && start % PFN4K::SIZE == 0
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `start.is_multiple_of(PFN4K::SIZE)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of
|
|
manual implementation of `.is_multiple_of()`:
src/mmu.rs#L1087
warning: manual implementation of `.is_multiple_of()`
--> src/mmu.rs:1087:20
|
1087 | && (pa as usize) % PFN2M::SIZE == 0
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `(pa as usize).is_multiple_of(PFN2M::SIZE)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of
|
|
manual implementation of `.is_multiple_of()`:
src/mmu.rs#L1086
warning: manual implementation of `.is_multiple_of()`
--> src/mmu.rs:1086:20
|
1086 | && start % PFN2M::SIZE == 0
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `start.is_multiple_of(PFN2M::SIZE)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of
|
|
manual implementation of `.is_multiple_of()`:
src/mmu.rs#L1078
warning: manual implementation of `.is_multiple_of()`
--> src/mmu.rs:1078:20
|
1078 | && (pa as usize) % PFN1G::SIZE == 0
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `(pa as usize).is_multiple_of(PFN1G::SIZE)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of
|
|
manual implementation of `.is_multiple_of()`:
src/mmu.rs#L1077
warning: manual implementation of `.is_multiple_of()`
--> src/mmu.rs:1077:20
|
1077 | && start % PFN1G::SIZE == 0
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `start.is_multiple_of(PFN1G::SIZE)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of
|
|
manual implementation of `.is_multiple_of()`:
src/loader.rs#L187
warning: manual implementation of `.is_multiple_of()`
--> src/loader.rs:187:8
|
187 | if vm.start % mem::V4KA::ALIGN != 0 {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `!vm.start.is_multiple_of(mem::V4KA::ALIGN)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of
|
|
manual implementation of `.is_multiple_of()`:
src/loader.rs#L180
warning: manual implementation of `.is_multiple_of()`
--> src/loader.rs:180:8
|
180 | if pa % mem::P4KA::ALIGN != 0 {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `!pa.is_multiple_of(mem::P4KA::ALIGN)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of
= note: `#[warn(clippy::manual_is_multiple_of)]` on by default
|