-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
Closed
diesel-rs/diesel
#4907Labels
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-lang-radarItems that are on lang's radar and will need eventual work or consideration.Items that are on lang's radar and will need eventual work or consideration.P-lang-drag-0Lang team prioritization drag level 0.https://rust-lang.zulipchat.com/#narrow/channel/410516-t-lang.Lang team prioritization drag level 0.https://rust-lang.zulipchat.com/#narrow/channel/410516-t-lang.P-mediumMedium priorityMedium priorityT-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.T-langRelevant to the language teamRelevant to the language teamregression-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-lang-radarItems that are on lang's radar and will need eventual work or consideration.Items that are on lang's radar and will need eventual work or consideration.P-lang-drag-0Lang team prioritization drag level 0.https://rust-lang.zulipchat.com/#narrow/channel/410516-t-lang.Lang team prioritization drag level 0.https://rust-lang.zulipchat.com/#narrow/channel/410516-t-lang.P-mediumMedium priorityMedium priorityT-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.T-langRelevant to the language teamRelevant to the language teamregression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.