Lint against Symbol::intern on a string literal by clubby789 · Pull Request #133545 · rust-lang/rust (original) (raw)
In my opinion, if the sym
names derived from strictly following the sym
naming rules turns out to be less readable, then:
(1) Either we don't make it a sym
,
(2) Or we don't strictly follow the naming rules.
For stuff like <xxx>
becoming lt_xxx_rt
, I think that's significantly worse readability wise if we convert them into sym
and strictly follow said sym
naming rules. The c-variadic
case I don't think is as problematic, but it might be less obvious than actually c-variadic
as-is.