Skip to content

Use different Attributes types for each translation regime #198

Use different Attributes types for each translation regime

Use different Attributes types for each translation regime #198

GitHub Actions / clippy failed Sep 24, 2024 in 0s

clippy

1 error

Details

Results

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

Versions

  • rustc 1.81.0 (eeb90cda1 2024-09-04)
  • cargo 1.81.0 (2dbb1af80 2024-08-20)
  • clippy 0.1.81 (eeb90cd 2024-09-04)

Annotations

Check failure on line 795 in src/paging.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unsafe impl missing a safety comment

error: unsafe impl missing a safety comment
   --> src/paging.rs:795:1
    |
795 | unsafe impl<A: Attributes> AsBytes for PageTable<A>
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: consider adding a safety comment on the preceding line
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#undocumented_unsafe_blocks
note: the lint level is defined here
   --> src/lib.rs:51:9
    |
51  | #![deny(clippy::undocumented_unsafe_blocks)]
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^