Closed greenhandatsjtu closed 2 years ago
Merging #299 (149d108) into master (e161068) will not change coverage. The diff coverage is
n/a
.:exclamation: Current head 149d108 differs from pull request most recent head 5dad44b. Consider uploading reports for the commit 5dad44b to get more accurate results
@@ Coverage Diff @@
## master #299 +/- ##
=======================================
Coverage 81.46% 81.46%
=======================================
Files 23 23
Lines 3463 3463
=======================================
Hits 2821 2821
Misses 642 642
Impacted Files | Coverage Δ | |
---|---|---|
src/enforcer.rs | 87.25% <ø> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update e161068...5dad44b. Read the comment docs.
Because of a known issue (https://github.com/rust-lang/rust-clippy/issues/9165) of cargo clippy, cargo clippy
will fail in nightly Rust (https://github.com/casbin/casbin-rs/runs/7319492415?check_suite_focus=true#step:14:39).
Seems the only way is to wait cargo clippy fixes this issue.
Seems the only way is to wait cargo clippy fixes this issue.
Could we temporarily skip it by using #[allow(....)]
Seems the only way is to wait cargo clippy fixes this issue.
Could we temporarily skip it by using
#[allow(....)]
Thanks for your advice, I have tried adding #![allow(clippy::explicit_auto_deref)]
, but then cargo clippy
with stable Rust will fail (https://github.com/casbin/casbin-rs/runs/7335352352?check_suite_focus=true#step:14:40):
error: unknown lint: `clippy::explicit_auto_deref`
--> src/enforcer.rs:1:10
|
1 | #![allow(clippy::explicit_auto_deref)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `clippy::explicit_write`
|
= note: `-D unknown-lints` implied by `-D warnings
@smrpn @hackerchai @PsiACE @GopherJ please review