Skip to content

Should ast::Position use Symbol instead of str? #60795

Closed
@oli-obk

Description

@oli-obk

ArgumentNamed(&'a str),
is compared against symbols in clippy, and I believe in rustc many uses could also be comparing against symbols. Is this something we should do @nnethercote ?

Metadata

Metadata

Labels

A-parserArea: The lexing & parsing of Rust source code to an ASTC-cleanupCategory: PRs that clean code up or issues documenting cleanup.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions