Skip to content

Commit b917e96

Browse files
authored
Drop the last two lint expectations clippy 1.98 no longer fulfils (#8568)
Assisted-by: Claude Code:claude-opus-5
1 parent 728a61e commit b917e96

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

‎crates/host_env/src/posix.rs‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1406,10 +1406,6 @@ fn build_posix_spawn_attrs(
14061406
target_os = "illumos",
14071407
target_os = "hurd",
14081408
)))]
1409-
#[expect(
1410-
clippy::std_instead_of_core,
1411-
reason = "false positive: core::io::ErrorKind is unstable (core_io); expect is co-gated with the usage so it is not left unfulfilled on platforms where this block is compiled out"
1412-
)]
14131409
{
14141410
return Err(std::io::Error::new(
14151411
std::io::ErrorKind::Unsupported,

‎crates/vm/src/stdlib/_signal.rs‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -337,10 +337,6 @@ pub(crate) mod _signal {
337337
}
338338

339339
#[cfg(windows)]
340-
#[expect(
341-
clippy::std_instead_of_core,
342-
reason = "false positive: core::io::ErrorKind is unstable (core_io)"
343-
)]
344340
let is_socket = if fd != INVALID_WAKEUP {
345341
host_signal::wakeup_fd_is_socket(fd).map_err(|err| {
346342
if err.kind() == std::io::ErrorKind::InvalidInput {

0 commit comments

Comments
 (0)