Merge branch 'main' of github.com:NULLx76/ringbuffer into remove-depr… #279
clippy
6 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 6 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.74.0-nightly (ca2b74f1a 2023-09-14)
- cargo 1.74.0-nightly (2fc85d15a 2023-09-09)
- clippy 0.1.74 (ca2b74f 2023-09-14)
Annotations
Check failure on line 142 in src/ringbuffer_trait.rs
github-actions / clippy
unsafe function's docs miss `# Safety` section
error: unsafe function's docs miss `# Safety` section
--> src/ringbuffer_trait.rs:142:5
|
142 | unsafe fn ptr_get_mut(rb: *mut Self, index: isize) -> Option<*mut T>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
Check failure on line 140 in src/ringbuffer_trait.rs
github-actions / clippy
item in documentation is missing backticks
error: item in documentation is missing backticks
--> src/ringbuffer_trait.rs:140:71
|
140 | /// Safety: ONLY SAFE WHEN self is a *mut to to an implementor of RingBuffer
| ^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
140 | /// Safety: ONLY SAFE WHEN self is a *mut to to an implementor of `RingBuffer`
| ~~~~~~~~~~~~
Check failure on line 59 in src/ringbuffer_trait.rs
github-actions / clippy
unsafe function's docs miss `# Safety` section
error: unsafe function's docs miss `# Safety` section
--> src/ringbuffer_trait.rs:59:5
|
59 | unsafe fn ptr_capacity(rb: *const Self) -> usize;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
Check failure on line 57 in src/ringbuffer_trait.rs
github-actions / clippy
item in documentation is missing backticks
error: item in documentation is missing backticks
--> src/ringbuffer_trait.rs:57:71
|
57 | /// Safety: ONLY SAFE WHEN self is a *mut to to an implementor of RingBuffer
| ^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
57 | /// Safety: ONLY SAFE WHEN self is a *mut to to an implementor of `RingBuffer`
| ~~~~~~~~~~~~
Check failure on line 35 in src/ringbuffer_trait.rs
github-actions / clippy
unsafe function's docs miss `# Safety` section
error: unsafe function's docs miss `# Safety` section
--> src/ringbuffer_trait.rs:35:5
|
35 | unsafe fn ptr_len(rb: *const Self) -> usize;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
note: the lint level is defined here
--> src/lib.rs:3:9
|
3 | #![deny(warnings)]
| ^^^^^^^^
= note: `#[deny(clippy::missing_safety_doc)]` implied by `#[deny(warnings)]`
Check failure on line 33 in src/ringbuffer_trait.rs
github-actions / clippy
item in documentation is missing backticks
error: item in documentation is missing backticks
--> src/ringbuffer_trait.rs:33:71
|
33 | /// Safety: ONLY SAFE WHEN self is a *mut to to an implementor of RingBuffer
| ^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
note: the lint level is defined here
--> src/lib.rs:11:9
|
11 | #![deny(clippy::doc_markdown)]
| ^^^^^^^^^^^^^^^^^^^^
help: try
|
33 | /// Safety: ONLY SAFE WHEN self is a *mut to to an implementor of `RingBuffer`
| ~~~~~~~~~~~~