Skip to content

rust: update rust, dependencies; fix errors #60

rust: update rust, dependencies; fix errors

rust: update rust, dependencies; fix errors #60

GitHub Actions / clippy succeeded Jan 17, 2024 in 1s

clippy

5 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 5
Note 0
Help 0

Versions

  • rustc 1.77.0-nightly (098d4fd74 2024-01-16)
  • cargo 1.77.0-nightly (84976cd69 2024-01-12)
  • clippy 0.1.77 (098d4fd 2024-01-16)

Annotations

Check warning on line 156 in x86_64/src/vm.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

field `0` is never read

warning: field `0` is never read
   --> x86_64/src/vm.rs:156:10
    |
156 |     Next(PTE),
    |     ---- ^^^
    |     |
    |     field in this variant
    |
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
    |
156 |     Next(()),
    |          ~~

Check warning on line 150 in x86_64/src/vm.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

field `0` is never read

warning: field `0` is never read
   --> x86_64/src/vm.rs:150:10
    |
150 |     Next(PTE),
    |     ---- ^^^
    |     |
    |     field in this variant
    |
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
    |
150 |     Next(()),
    |          ~~

Check warning on line 145 in x86_64/src/vm.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

field `0` is never read

warning: field `0` is never read
   --> x86_64/src/vm.rs:145:10
    |
145 |     Next(PTE),
    |     ---- ^^^
    |     |
    |     field in this variant
    |
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
    |
145 |     Next(()),
    |          ~~

Check warning on line 56 in x86_64/src/trap.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

field `0` is never read

warning: field `0` is never read
  --> x86_64/src/trap.rs:56:17
   |
56 | pub struct Stub(usize);
   |            ---- ^^^^^
   |            |
   |            field in this struct
   |
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
   |
56 | pub struct Stub(());
   |                 ~~

Check warning on line 199 in x86_64/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

field `0` is never read

warning: field `0` is never read
   --> x86_64/src/lib.rs:199:19
    |
199 | pub struct PF512G(HPA);
    |            ------ ^^^
    |            |
    |            field in this struct
    |
    = note: `PF512G` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
    = note: `#[warn(dead_code)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
    |
199 | pub struct PF512G(());
    |                   ~~