Drop the lint expectations clippy 1.98 no longer fulfils (#8564) · RustPython/RustPython@c077373 · GitHub
Skip to content

Commit c077373

Browse files
authored
Drop the lint expectations clippy 1.98 no longer fulfils (#8564)
`clippy::std_instead_of_core` stopped firing at the four places that carry an `#[expect]` for it. All four were added for the same false positive, on items whose `core` counterpart is still unstable. `unfulfilled_lint_expectations` is denied through `-D warnings`, so the three clippy jobs and the WASM check fail on current stable for every pull request, whatever it touches. Assisted-by: Claude Code:claude-opus-5
1 parent dbf6e6d commit c077373

4 files changed

Lines changed: 0 additions & 14 deletions

File tree

crates/host_env/src/fileutils.rs

Lines changed: 0 additions & 4 deletions

crates/stdlib/src/pyexpat.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
//! Pyexpat builtin module
22
3-
// false positive: core::io::Cursor is unstable (core_io), unusable on stable
4-
#![expect(clippy::std_instead_of_core)]
5-
63
// spell-checker: ignore libexpat
74

85
pub(crate) use _pyexpat::module_def;

crates/stdlib/src/ssl.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
//!
1414
//! Warning: This library contains AI-generated code and comments. Do not trust any code or comment without verification. Please have a qualified expert review the code and remove this notice after review.
1515
16-
// false positive: core::io::{Cursor, ErrorKind} are unstable (core_io), unusable on stable
17-
#![expect(clippy::std_instead_of_core)]
18-
1916
// OID (Object Identifier) management module
2017
mod oid;
2118

crates/vm/src/stdlib/_io.rs

Lines changed: 0 additions & 4 deletions

0 commit comments

Comments
 (0)