"Generate constant" assist creates constant with function's type when invoked on a const generic argument. #11034
Labels
A-assists
A-ty
type system / type inference / traits / method resolution
C-bug
Category: bug
S-unactionable
Issue requires feedback, design decisions or is blocked on other work
Example:
Invoking the "Generate constant" assist on
BAR
results in:It should instead use the argument's type and generate
const BAR: usize =
.vMbZ0ItN6JeCb75U.1.mp4
The text was updated successfully, but these errors were encountered: