- Notifications
You must be signed in to change notification settings - Fork 13.9k
Open
Labels
A-trait-systemArea: Trait systemArea: Trait systemC-bugCategory: This is a bug.Category: This is a bug.T-typesRelevant to the types team, which will review and decide on the PR/issue.Relevant to the types team, which will review and decide on the PR/issue.WG-trait-system-refactorThe Rustc Trait System Refactor Initiative (-Znext-solver)The Rustc Trait System Refactor Initiative (-Znext-solver)
Description
I tried to switch to next-solver, because of an ICE similar to this: #145482
This function fails to compile with:
error[E0792]: expected generic lifetime parameter, found `'_` --> /home/darksome/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-sol-macro-expander-1.3.0/src/expand/mod.rs:567:54 | 530 | impl<'ast> ExpCtxt<'ast> { | ---- this generic parameter must be used with a generic lifetime parameter ... 567 | move |ty| self.custom_type(ty).is_value_type(self.custom_is_value_type()) | It works on stable and nightly without -Znext-solver
Meta
rustc --version --verbose:
rustc 1.91.0-nightly (3672a55b7 2025-08-13) binary: rustc commit-hash: 3672a55b7cfd0a12e7097197b6242872473ffaa7 commit-date: 2025-08-13 host: x86_64-unknown-linux-gnu release: 1.91.0-nightly LLVM version: 21.1.0 Metadata
Metadata
Assignees
Labels
A-trait-systemArea: Trait systemArea: Trait systemC-bugCategory: This is a bug.Category: This is a bug.T-typesRelevant to the types team, which will review and decide on the PR/issue.Relevant to the types team, which will review and decide on the PR/issue.WG-trait-system-refactorThe Rustc Trait System Refactor Initiative (-Znext-solver)The Rustc Trait System Refactor Initiative (-Znext-solver)