Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion libs/@local/harpc/net/src/session/server/test.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#![expect(clippy::significant_drop_tightening, reason = "test code")]
use alloc::sync::Arc;
use core::{
io::ErrorKind,

Check failure

Code scanning / clippy

use of unstable library feature core_io Error test

use of unstable library feature core_io
sync::atomic::{AtomicUsize, Ordering},
time::Duration,
};
use std::io::{self, ErrorKind};
use std::io;

use bytes::{Bytes, BytesMut};
use error_stack::{Report, ResultExt as _};
Expand Down
2 changes: 1 addition & 1 deletion libs/@local/hashql/diagnostics/src/diagnostic/label.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ impl<S> Labels<S> {
}

#[cfg(feature = "render")]
pub(crate) fn as_slice(&self) -> &[Label<S>] {
pub(crate) const fn as_slice(&self) -> &[Label<S>] {
&self.labels
}

Expand Down
6 changes: 3 additions & 3 deletions libs/@local/hashql/mir/src/body/terminator/switch_int.rs
Original file line number Diff line number Diff line change
Expand Up @@ -380,23 +380,23 @@ impl<'heap> SwitchTargets<'heap> {
/// The slice contains all targets in the same order as the values, with the
/// otherwise target (if any) as the last element.
#[must_use]
pub fn targets(&self) -> &[Target<'heap>] {
pub const fn targets(&self) -> &[Target<'heap>] {
&self.targets
}

/// Returns a mutable slice of all targets, including the otherwise target if present.
///
/// The slice contains all targets in the same order as the values, with the
/// otherwise target (if any) as the last element.
pub fn targets_mut(&mut self) -> &mut [Target<'heap>] {
pub const fn targets_mut(&mut self) -> &mut [Target<'heap>] {
&mut self.targets
}

/// Returns a slice of all discriminant values in sorted order.
///
/// The values are guaranteed to be sorted in ascending order and to be unique.
#[must_use]
pub fn values(&self) -> &[u128] {
pub const fn values(&self) -> &[u128] {
&self.values
}

Expand Down
4 changes: 2 additions & 2 deletions libs/@local/repo-chores/rust/src/sync_turborepo/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@
match fs::read_to_string(path).await {
Ok(contents) => serde_json::from_str(&contents)
.change_context_lazy(|| SyncTurborepoError::ParseFile(path.to_owned())),
Err(err) if err.kind() == std::io::ErrorKind::NotFound => {
Err(err) if err.kind() == core::io::ErrorKind::NotFound => {

Check failure

Code scanning / clippy

use of unstable library feature core_io Error

use of unstable library feature core_io
tracing::info!("package.json does not exist at {path}, creating new one");
Ok(PackageJson::default())
}
Expand Down Expand Up @@ -461,7 +461,7 @@
return Ok(());
}
Ok(_) => {}
Err(err) if err.kind() == std::io::ErrorKind::NotFound => {}
Err(err) if err.kind() == core::io::ErrorKind::NotFound => {}

Check failure

Code scanning / clippy

use of unstable library feature core_io Error

use of unstable library feature core_io
Err(err) => {
tracing::warn!("Failed to read {path} for change detection, overwriting: {err}");
}
Expand Down
2 changes: 1 addition & 1 deletion libs/error-stack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

[![crates.io](https://img.shields.io/crates/v/error-stack)][crates.io]
[![libs.rs](https://img.shields.io/badge/libs.rs-error--stack-orange)][libs.rs]
[![rust-version](https://img.shields.io/static/v1?label=Rust&message=1.83.0/nightly-2026-04-13&color=blue)][rust-version]
[![rust-version](https://img.shields.io/static/v1?label=Rust&message=1.83.0/nightly-2026-04-27&color=blue)][rust-version]
[![documentation](https://img.shields.io/docsrs/error-stack)][documentation]
[![license](https://img.shields.io/crates/l/error-stack)][license]

Expand Down
2 changes: 1 addition & 1 deletion libs/error-stack/macros/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

[![crates.io](https://img.shields.io/crates/v/error-stack-macros)][crates.io]
[![libs.rs](https://img.shields.io/badge/libs.rs-error--stack--macros-orange)][libs.rs]
[![rust-version](https://img.shields.io/static/v1?label=Rust&message=1.83.0/nightly-2026-04-13&color=blue)][rust-version]
[![rust-version](https://img.shields.io/static/v1?label=Rust&message=1.83.0/nightly-2026-04-27&color=blue)][rust-version]
[![documentation](https://img.shields.io/docsrs/error-stack-macros)][documentation]
[![license](https://img.shields.io/crates/l/error-stack)][license]

Expand Down
2 changes: 1 addition & 1 deletion libs/error-stack/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//!
//! [![crates.io](https://img.shields.io/crates/v/error-stack)][crates.io]
//! [![libs.rs](https://img.shields.io/badge/libs.rs-error--stack-orange)][libs.rs]
//! [![rust-version](https://img.shields.io/static/v1?label=Rust&message=1.83.0/nightly-2026-04-13&color=blue)][rust-version]
//! [![rust-version](https://img.shields.io/static/v1?label=Rust&message=1.83.0/nightly-2026-04-27&color=blue)][rust-version]
//!
//! [crates.io]: https://crates.io/crates/error-stack
//! [libs.rs]: https://lib.rs/crates/error-stack
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2026-04-13"
channel = "nightly-2026-04-27"
components = ['rustfmt', 'clippy', 'llvm-tools-preview', 'miri', 'rust-src', 'rust-analyzer', 'rustc-codegen-cranelift-preview']
Loading