Prefer new associated numeric consts in float error messages #78382
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
D-papercut
Diagnostics: An error or lint that needs small tweaks.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This program:
Produces this output:
Note the references to
std::{f32, 64}::INFINITY
; these symbols have been superseded by associated consts at{f32,f64}::INFINITY
(#68490).Update the error message to suggest the new symbols
Determine if any of the other old symbols are contained in any error messages.
The text was updated successfully, but these errors were encountered: