ICE when documenting crate that triggers PR 31362 warning #36747
Labels
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-high
High priority
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
I get an ICE on an older project, when running cargo doc - when documenting glium v0.13.5 specifically - with the current nightly build.
The issue seems to be the line in src/lib.rs of that glium version
The glium crate is linked in the backend::glutin_backend module. The compiler warns about PR #31362, but at the moment it compiles fine, only generating docs doesn't work.
A minimal example, that generates the same behaviour, when documenting, is:
lib.rs:
Meta
rustc --version --verbose
:Backtrace for minimal example:
The text was updated successfully, but these errors were encountered: