Skip to content

Regression of the typenum crate on nightly #32637

Closed
@alexcrichton

Description

@alexcrichton

The typenum crate (as of paholg/typenum@10c15e3 at least) successfully compiles on stable/beta but fails to compile no nightly with the error message:

error: overflow evaluating the requirement `uint::UInt<_, _> : private::PrivateCmp<uint::UInt<_, _>, Equal>` [E0275]
src/lib.rs:1:1: 1:1 note: consider adding a `#![recursion_limit="128"]` attribute to your crate
error: aborting due to previous error

It this expected? Perhaps this was bumping "close to the recursion limit" beforehand? I haven't diagnosed this much, but at least the reproduction is easy!

cc @aturon (maybe specialization related)
cc @rust-lang/compiler

Metadata

Metadata

Assignees

Labels

P-highHigh priorityT-compilerRelevant 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.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions