variant_count intrinsic is evaluated incorrectly in generic code #79137
Labels
C-bug
Category: This is a bug.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
E-mentor
Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
F-variant_count
`#![feature(variant_count)]`
I-unsound
Issue: A soundness hole (worst kind of bug), see: https://en.wikipedia.org/wiki/Soundness
requires-nightly
This issue requires a nightly compiler in some way.
For example:
Similar to #73976, but with a different intrinsic.
The text was updated successfully, but these errors were encountered: