Lint with nightly
While `clippy` now allows `TBD` to be used in `since` parameter of `deprecated` attribute it is only available in the newest, nightly, version. Switch `clippy` version to nightly to enable the `TBD` value.
This commit is contained in:
parent
e09ef5cf12
commit
bb0f839c2f
|
@ -22,7 +22,6 @@ jobs:
|
|||
- name: Running test script
|
||||
env:
|
||||
DO_COV: true
|
||||
DO_LINT: true
|
||||
AS_DEPENDENCY: false
|
||||
DO_DOCS: true
|
||||
DO_FEATURE_MATRIX: true
|
||||
|
@ -54,8 +53,11 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
- name: Checkout Toolchain
|
||||
uses: dtolnay/rust-toolchain@nightly
|
||||
- name: Install clippy
|
||||
run: rustup component add clippy
|
||||
- name: Running test script
|
||||
env:
|
||||
DO_LINT: true
|
||||
DO_FMT: false
|
||||
DO_BENCH: true
|
||||
AS_DEPENDENCY: false
|
||||
|
|
|
@ -171,7 +171,7 @@ mod prelude {
|
|||
pub use alloc::sync;
|
||||
|
||||
#[cfg(any(feature = "std", test))]
|
||||
pub use std::{string::{String, ToString}, vec::Vec, boxed::Box, borrow::{Borrow, BorrowMut, Cow, ToOwned}, slice, rc, sync};
|
||||
pub use std::{string::{String, ToString}, vec::Vec, boxed::Box, borrow::{Borrow, BorrowMut, Cow, ToOwned}, rc, sync};
|
||||
|
||||
#[cfg(all(not(feature = "std"), not(test)))]
|
||||
pub use alloc::collections::{BTreeMap, BTreeSet, btree_map, BinaryHeap};
|
||||
|
|
Loading…
Reference in New Issue