Skip to content

Commit c5425ce

Browse files
committed
Add data structures used by redundant_clone
1 parent 083ea7e commit c5425ce

File tree

14 files changed

+3466
-0
lines changed

14 files changed

+3466
-0
lines changed

.github/workflows/clippy_mq.yml

+4
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ jobs:
6565
if: matrix.host != 'x86_64-unknown-linux-gnu'
6666
run: cargo test --features internal -- --skip dogfood
6767

68+
- name: Test clippy_data_structures
69+
run: cargo test
70+
working-directory: clippy_data_structures
71+
6872
- name: Test clippy_lints
6973
run: cargo test
7074
working-directory: clippy_lints

.github/workflows/clippy_pr.yml

+4
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ jobs:
4141
- name: Test
4242
run: cargo test --features internal
4343

44+
- name: Test clippy_data_structures
45+
run: cargo test
46+
working-directory: clippy_data_structures
47+
4448
- name: Test clippy_lints
4549
run: cargo test
4650
working-directory: clippy_lints

clippy_data_structures/Cargo.toml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[package]
2+
name = "clippy_data_structures"
3+
version = "0.0.1"
4+
edition = "2021"
5+
6+
[dependencies]
7+
arrayvec = { version = "0.7", default-features = false}
8+
smallvec = { version = "1.8.1", features = ["union", "may_dangle", "const_new"] }
9+
10+
[package.metadata.rust-analyzer]
11+
# This package uses #[feature(rustc_private)]
12+
rustc_private = true

0 commit comments

Comments
 (0)