-
-
Notifications
You must be signed in to change notification settings - Fork 15k
nalgebra generates tens of "bad constant user type" errors #55210
Copy link
Copy link
Closed
Labels
I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️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.
Metadata
Metadata
Assignees
Labels
I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️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.
Type
Fields
Give feedbackNo fields configured for issues without a type.
I get the feeling this bug is a duplicate of something, but several Google searches yielded no relevant results, so my apologies if this has already been documented.
After I updated my Rust toolchain to version
1.31.0-nightly, buildingnalgebraas a dependency generates about seventy or so broken MIR errors, all of the form "bad constant user type."The bug shows up as long as
nalgebrais listed as a dependency:Cargo.tomlMeta
Full output of
cargo build: https://pastebin.com/guth8P09Compiler backtrace: