Avoid new lints in 1.81.0 #89
Annotations
7 warnings
|
Resource not accessible by integration - https://docs.github.com/rest/checks/runs#create-a-check-run
|
src/lib.rs#L2423
warning: used import from `std` instead of `alloc`
--> src/lib.rs:2423:8
|
2423 | T: std::string::ToString + FromStr + PartialEq + fmt::Debug,
| ^^^ help: consider importing the item from `alloc`: `alloc`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#std_instead_of_alloc
note: the lint level is defined here
--> src/lib.rs:286:5
|
286 | clippy::std_instead_of_alloc,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
src/lib.rs#L37
warning: used import from `std` instead of `core`
--> src/tests.rs:37:14
|
37 | ) -> std::result::Result<Self::Ok, Self::Err> {
| ^^^ help: consider importing the item from `core`: `core`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#std_instead_of_core
note: the lint level is defined here
--> src/lib.rs:285:5
|
285 | clippy::std_instead_of_core,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
src/lib.rs#L69
warning: used import from `std` instead of `alloc`
--> src/tests.rs:69:26
|
69 | struct TestError<E = std::string::ParseError>(&'static str, Option<E>);
| ^^^ help: consider importing the item from `alloc`: `alloc`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#std_instead_of_alloc
|
src/lib.rs#L115
warning: used import from `std` instead of `core`
--> src/tests.rs:115:18
|
115 | ) -> std::result::Result<Self::Ok, Self::Err> {
| ^^^ help: consider importing the item from `core`: `core`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#std_instead_of_core
|
|
This job succeeded
Loading