Skip to content

Add data structures used by redundant_clone #14672

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/clippy_mq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ jobs:
if: matrix.host != 'x86_64-unknown-linux-gnu'
run: cargo test --features internal -- --skip dogfood

- name: Test clippy_data_structures
run: cargo test
working-directory: clippy_data_structures

- name: Test clippy_lints
run: cargo test
working-directory: clippy_lints
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/clippy_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ jobs:
- name: Test
run: cargo test --features internal

- name: Test clippy_data_structures
run: cargo test
working-directory: clippy_data_structures

- name: Test clippy_lints
run: cargo test
working-directory: clippy_lints
Expand Down
12 changes: 12 additions & 0 deletions clippy_data_structures/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[package]
name = "clippy_data_structures"
version = "0.0.1"
edition = "2021"

[dependencies]
arrayvec = { version = "0.7", default-features = false}
smallvec = { version = "1.8.1", features = ["union", "may_dangle", "const_new"] }

[package.metadata.rust-analyzer]
# This package uses #[feature(rustc_private)]
rustc_private = true
Loading