Rename core::info, etc. and modernize #3941
Labels
A-syntaxext
Area: Syntax extensions
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Milestone
Constants named
info
, etc. are imported by default, and they can't be shadowed by variable bindings. At the minimum they should have less intrusive names, and follow the appropriate naming convention for constants.They probably deserve to be enums, and therefore lang items.
These are rarely used, most people favoring the macros, so I think they should not even be imported by default, moved to
core::logging
.The text was updated successfully, but these errors were encountered: