-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
Open
Labels
A-resolveArea: Name/path resolution done by `rustc_resolve` specificallyArea: Name/path resolution done by `rustc_resolve` specificallyC-bugCategory: This is a bug.Category: This is a bug.I-prioritizeIssue: Indicates that prioritization has been requested for this issue.Issue: Indicates that prioritization has been requested for this issue.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Description
Code
I tried this code:
git clone https://github.com/diesel-rs/diesel
cd diesel
cargo check -F postgres --all-targets -p diesel_testsI expected to see this happen: Code builds without errors
Instead, this happened: Compilation fails with errors
Version it worked on
It most recently worked on:
Version with regression
rustc --version --verbose:
rustc 1.94.0-nightly (c61a3a44d 2025-12-09)
binary: rustc
commit-hash: c61a3a44d1a5bee35914cada6c788a05e0808f5b
commit-date: 2025-12-09
host: x86_64-unknown-linux-gnu
release: 1.94.0-nightly
LLVM version: 21.1.5
bisec-rustc points to c61a3a4 (so #147984) for the commit/PR that introduced this regression.
The error message points to #114095
Unfortunately I see no meaningful way for diesel to address this without doing a significant breaking change. To address this without breaking change on our side it would be required to have tooling that lets us import only from a specific namespace (type, function, etc) if several items with the same name exists.
@rustbot modify labels: +regression-from-stable-to-nightly -regression-untriaged
LucaCappelletti94
Metadata
Metadata
Assignees
Labels
A-resolveArea: Name/path resolution done by `rustc_resolve` specificallyArea: Name/path resolution done by `rustc_resolve` specificallyC-bugCategory: This is a bug.Category: This is a bug.I-prioritizeIssue: Indicates that prioritization has been requested for this issue.Issue: Indicates that prioritization has been requested for this issue.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.