chore: Rust 1.86.0 (#29435)

Since `rust 1.87.0` reported `undefined symbol:
ring::pbkdf2::PBKDF2_HMAC_SHA1::*` in CI and it was difficult to debug
locally, use `rust 1.86.0` in CI tests for troubleshoot the errors
This commit is contained in:
林炳权 2025-05-26 05:40:48 +08:00 committed by GitHub
parent bc8b191b7c
commit cb738ee5da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
45 changed files with 138 additions and 133 deletions

View file

@ -279,7 +279,7 @@ mod test {
.resolve_lint_rules(Default::default(), None)
.rules
.into_iter()
.filter(|r| r.tags().iter().any(|t| *t == tags::RECOMMENDED))
.filter(|r| r.tags().contains(&tags::RECOMMENDED))
.map(|r| r.code().to_string())
.filter(|n| n != "no-debugger")
.collect::<Vec<_>>();