Skip to content

Commit 5c9772a

Browse files
committed
fix: Address new unstable lint features
I didn't notice these were unstable. Oops! Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
1 parent 58ec65f commit 5c9772a

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.cargo/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ rustflags = [
1111
# Improves compilation times, doesn't seem to impact runtime performance
1212
# "-Zthreads=8",
1313
# Unstable lints
14-
# "-Zcrate-attr=feature(strict_provenance_lints,unqualified_local_imports)",
14+
# "-Zcrate-attr=feature(strict_provenance_lints,unqualified_local_imports,must_not_suspend,multiple_supertrait_upcastable)",
1515
# For profiling.
1616
# "-Cforce-frame-pointers=yes",
1717
# "-Clink-arg=-Wl,--no-rosegment",

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Format Check (Nightly)
3939
run: cargo +nightly fmt --verbose --all --check
4040
- name: Clippy (Nightly)
41-
run: cargo +nightly clippy --locked --workspace --all-targets --all-features -- -D warnings -Zcrate-attr=feature"(strict_provenance_lints,unqualified_local_imports)"
41+
run: cargo +nightly clippy --locked --workspace --all-targets --all-features -- -D warnings -Zcrate-attr=feature"(strict_provenance_lints,unqualified_local_imports,must_not_suspend,multiple_supertrait_upcastable)"
4242

4343
build-test-msrv:
4444
strategy:

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ missing_debug_implementations = "warn"
9999
missing_docs = "warn"
100100

101101
# Adds overhead. Is it worth it?
102-
multiple_supertrait_upcastable = "warn"
102+
multiple_supertrait_upcastable = "warn" #unstable; #NO_TRACKING_ISSUE?
103103

104104
# Causes problems in async
105-
must_not_suspend = "warn"
105+
must_not_suspend = "warn" # unstable; #83310
106106

107107
# I don't write non-ascii characters. If these show up, it's a security problem.
108108
non_ascii_idents = "forbid"

0 commit comments

Comments
 (0)