-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ICE during codegen of function that can't be codegened #75961
Comments
Note that the function doesn't need to be public. Also, after reading the docstring that this example came from, it seems like an attempt is made to generate code, although no code should be emitted (the function can never be called, as the where clause can not be satisfied).
|
This regressed in 1.44.0. |
@rustbot ping cleanup-crew |
Hey Cleanup Crew ICE-breakers! This bug has been identified as a good cc @AminArria @camelid @chrissimpkins @contrun @DutchGhost @elshize @ethanboxx @h-michael @HallerPatrick @hdhoang @hellow554 @imtsuki @kanru @KarlK90 @LeSeulArtichaut @MAdrianMattocks @matheus-consoli @mental32 @nmccarty @Noah-Kennedy @pard68 @PeytonT @pierreN @Redblueflame @RobbieClarken @RobertoSnap @robjtede @SarthakSingh31 @senden9 @shekohex @sinato @spastorino @turboladen @woshilapin @yerke |
Assigning |
No longer ICEs since #90104 |
…askrgr Rollup of 5 pull requests Successful merges: - rust-lang#90239 (Consistent big O notation in map.rs) - rust-lang#90267 (fix: inner attribute followed by outer attribute causing ICE) - rust-lang#90288 (Add hint for people missing `TryFrom`, `TryInto`, `FromIterator` import pre-2021) - rust-lang#90304 (Add regression test for rust-lang#75961) - rust-lang#90344 (Add tracking issue number to const_cstr_unchecked) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
On stable 1.45.2,
1.47.0-beta.1 (2020-08-25 0f91f5c284c72e69bb71)
and1.47.0-nightly (2020-08-25 bf4342114e357f2934d5)
From the docstring of
librustc_middle::mir::mono::MonoItem::is_instantiable
:Possible related or duplicate issues are #69121 (doesn't seem to be as general) and #58375 (currently marked as solved).
Backtrace on stable 1.45.2
Backtrace on 1.47.0-beta.1 (2020-08-25 0f91f5c)
Backtrace on 1.47.0-nightly (2020-08-25 bf43421)
The text was updated successfully, but these errors were encountered: