Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .config/mise/mise.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,18 @@
"# renovate: datasource=(?<datasource>[a-z-]+) depName=(?<depName>[^\\s]+)\\n\\s*(?:export )?MISE_VERSION=(?<currentValue>[0-9][^\\s]*)\\s"
],
"extractVersionTemplate": "^v(?<version>.+)$"
},
{
"customType": "regex",
"description": "Keep the `rust` entry in the mise lockfile in sync with `rust-toolchain.toml`. The mise manager cannot do this itself because the Rust toolchain enters mise through the idiomatic version file, not through the mise config.",
"managerFilePatterns": ["/(^|/)\\.config/mise/mise\\.lock$/"],
"matchStrings": [
"\\[\\[tools\\.rust\\]\\]\\nversion = \"nightly-(?<currentValue>\\d+-\\d+-\\d+)\""
],
"depNameTemplate": "rust",
"packageNameTemplate": "rust-lang/rust-analyzer",
"datasourceTemplate": "github-releases",
"versioningTemplate": "regex:(?<major>\\d+)-(?<minor>\\d+)-(?<patch>\\d+)"
}
Comment thread
cursor[bot] marked this conversation as resolved.
]
}
4 changes: 2 additions & 2 deletions libs/@local/harpc/wire-protocol/src/codec/buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ where
return Err(Report::new(BufferError::EarlyEndOfStream));
}

Ok(N::unchecked_read_from_buf(&mut self.0))
Ok(N::unchecked_read_from_buf(&mut *self.0))
}

pub(crate) fn next_bytes(&mut self, at: usize) -> Result<Bytes, Report<BufferError>> {
Expand Down Expand Up @@ -136,7 +136,7 @@ where
return Err(Report::new(BufferError::NotEnoughCapacity));
}

number.unchecked_write_to_buf(&mut self.0);
number.unchecked_write_to_buf(&mut *self.0);

Ok(())
}
Expand Down
1 change: 0 additions & 1 deletion libs/@local/hashql/compiletest/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
formatting_options,
macro_metavar_expr,
pattern,
string_from_utf8_lossy_owned,
try_trait_v2,
vec_from_fn,
)]
Expand Down
12 changes: 6 additions & 6 deletions libs/@local/hashql/core/src/id/bit_vec/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ impl<T: Id> BitRelations<Self> for ChunkedBitSet<T> {
debug_assert_eq!(last_chunk_size, other.last_chunk_size());

let mut changed = false;
for (chunk_index, (mut self_chunk, other_chunk)) in
for (chunk_index, (self_chunk, other_chunk)) in
self.chunks.iter_mut().zip(other.chunks.iter()).enumerate()
{
let chunk_domain_size = if chunk_index + 1 == num_chunks {
Expand All @@ -865,7 +865,7 @@ impl<T: Id> BitRelations<Self> for ChunkedBitSet<T> {
CHUNK_BITS as ChunkSize
};

match (&mut self_chunk, &other_chunk) {
match (&mut *self_chunk, &other_chunk) {
(_, Chunk::Zeros) | (Chunk::Ones, _) => {}
(Chunk::Zeros, _) | (Chunk::Mixed(..), Chunk::Ones) => {
// `other_chunk` fully overwrites `self_chunk`
Expand Down Expand Up @@ -930,7 +930,7 @@ impl<T: Id> BitRelations<Self> for ChunkedBitSet<T> {
debug_assert_eq!(last_chunk_size, other.last_chunk_size());

let mut changed = false;
for (chunk_index, (mut self_chunk, other_chunk)) in
for (chunk_index, (self_chunk, other_chunk)) in
self.chunks.iter_mut().zip(other.chunks.iter()).enumerate()
{
let chunk_domain_size = if chunk_index + 1 == num_chunks {
Expand All @@ -939,7 +939,7 @@ impl<T: Id> BitRelations<Self> for ChunkedBitSet<T> {
CHUNK_BITS as ChunkSize
};

match (&mut self_chunk, &other_chunk) {
match (&mut *self_chunk, &other_chunk) {
(Chunk::Zeros, _) | (_, Chunk::Zeros) => {}
(Chunk::Ones | Chunk::Mixed(..), Chunk::Ones) => {
changed = true;
Expand Down Expand Up @@ -1006,7 +1006,7 @@ impl<T: Id> BitRelations<Self> for ChunkedBitSet<T> {
debug_assert_eq!(last_chunk_size, other.last_chunk_size());

let mut changed = false;
for (chunk_index, (mut self_chunk, other_chunk)) in
for (chunk_index, (self_chunk, other_chunk)) in
self.chunks.iter_mut().zip(other.chunks.iter()).enumerate()
{
let chunk_domain_size = if chunk_index + 1 == num_chunks {
Expand All @@ -1015,7 +1015,7 @@ impl<T: Id> BitRelations<Self> for ChunkedBitSet<T> {
CHUNK_BITS as ChunkSize
};

match (&mut self_chunk, &other_chunk) {
match (&mut *self_chunk, &other_chunk) {
(Chunk::Zeros, _) | (_, Chunk::Ones) => {}
(Chunk::Ones, Chunk::Zeros | Chunk::Mixed(..))
| (Chunk::Mixed(..), Chunk::Zeros) => {
Expand Down
20 changes: 20 additions & 0 deletions libs/@local/hashql/macros/src/id/enum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,26 @@ pub(super) fn expand_enum(
.checked_sub(count)
.and_then(|value| Self::try_from(value).ok())
}

#[inline]
fn forward_overflowing(start: Self, count: usize) -> (Self, bool) {
// On overflow the returned value is unspecified, but it must still be a
// valid instance of `Self`, so `start` is returned unchanged.
match <Self as ::core::iter::Step>::forward_checked(start, count) {
::core::option::Option::Some(value) => (value, false),
::core::option::Option::None => (start, true),
}
}

#[inline]
fn backward_overflowing(start: Self, count: usize) -> (Self, bool) {
// On overflow the returned value is unspecified, but it must still be a
// valid instance of `Self`, so `start` is returned unchanged.
match <Self as ::core::iter::Step>::backward_checked(start, count) {
::core::option::Option::Some(value) => (value, false),
::core::option::Option::None => (start, true),
}
}
}
});
}
Expand Down
20 changes: 20 additions & 0 deletions libs/@local/hashql/macros/src/id/struct.rs
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,26 @@ pub(super) fn expand_struct(
.checked_sub(count)
.and_then(|value| Self::try_from(value).ok())
}

#[inline]
fn forward_overflowing(start: Self, count: usize) -> (Self, bool) {
// On overflow the returned value is unspecified, but it must still be a
// valid instance of `Self`, so `start` is returned unchanged.
match <Self as ::core::iter::Step>::forward_checked(start, count) {
::core::option::Option::Some(value) => (value, false),
::core::option::Option::None => (start, true),
}
}

#[inline]
fn backward_overflowing(start: Self, count: usize) -> (Self, bool) {
// On overflow the returned value is unspecified, but it must still be a
// valid instance of `Self`, so `start` is returned unchanged.
match <Self as ::core::iter::Step>::backward_checked(start, count) {
::core::option::Option::Some(value) => (value, false),
::core::option::Option::None => (start, true),
}
}
}
});
}
Expand Down
1 change: 0 additions & 1 deletion libs/@local/hashql/mir/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
#![cfg_attr(test, feature(
// Library Features
maybe_uninit_array_assume_init,
string_from_utf8_lossy_owned,
))]
#![expect(clippy::indexing_slicing)]
extern crate alloc;
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-07-06&color=blue)][rust-version]
[![rust-version](https://img.shields.io/static/v1?label=Rust&message=1.83.0/nightly-2026-07-13&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-07-06&color=blue)][rust-version]
[![rust-version](https://img.shields.io/static/v1?label=Rust&message=1.83.0/nightly-2026-07-13&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-07-06&color=blue)][rust-version]
//! [![rust-version](https://img.shields.io/static/v1?label=Rust&message=1.83.0/nightly-2026-07-13&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-07-06"
channel = "nightly-2026-07-13"
Comment thread
cursor[bot] marked this conversation as resolved.
components = ['rustfmt', 'clippy', 'llvm-tools-preview', 'miri', 'rust-src', 'rust-analyzer', 'rustc-codegen-cranelift-preview']
Loading