Improves CI, fixes no_std
and other misc issues discovered
#3
reviewdog [clippy] report
reported by reviewdog 🐶
Findings (1)
src/pointer.rs|94 col 21| warning: current MSRV (Minimum Supported Rust Version) is 1.60.0
but this item is stable since 1.76.0
--> src/pointer.rs:94:21
|
94 | unsafe { &*(core::ptr::from_ref::(s) as *const Self) }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv
Filtered Findings (2)
src/pointer.rs|55 col 21| warning: current MSRV (Minimum Supported Rust Version) is 1.60.0
but this item is stable since 1.76.0
--> src/pointer.rs:55:21
|
55 | unsafe { &*(core::ptr::from_ref::(s.as_ref()) as const Self) }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv
note: the lint level is defined here
--> src/lib.rs:3:9
|
3 | #![warn(clippy::all, clippy::pedantic)]
| ^^^^^^^^^^^
= note: #[warn(clippy::incompatible_msrv)]
implied by #[warn(clippy::all)]
src/pointer.rs|61 col 21| warning: current MSRV (Minimum Supported Rust Version) is 1.60.0
but this item is stable since 1.76.0
--> src/pointer.rs:61:21
|
61 | unsafe { &(core::ptr::from_ref::("") as *const Self) }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv
Annotations
Check warning on line 94 in src/pointer.rs
github-actions / clippy
[clippy] src/pointer.rs#L94
warning: current MSRV (Minimum Supported Rust Version) is `1.60.0` but this item is stable since `1.76.0`
--> src/pointer.rs:94:21
|
94 | unsafe { &*(core::ptr::from_ref::<str>(s) as *const Self) }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv
Raw output
src/pointer.rs:94:21:w:warning: current MSRV (Minimum Supported Rust Version) is `1.60.0` but this item is stable since `1.76.0`
--> src/pointer.rs:94:21
|
94 | unsafe { &*(core::ptr::from_ref::<str>(s) as *const Self) }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv
__END__