syntax: Get rid of token::IdentStyle
This commit is contained in:
parent
8dbf8f5f0a
commit
546c052d22
16 changed files with 111 additions and 183 deletions
|
|
@ -147,7 +147,7 @@ fn write_source(sess: &parse::ParseSess,
|
|||
}
|
||||
|
||||
// keywords are also included in the identifier set
|
||||
token::Ident(ident, _is_mod_sep) => {
|
||||
token::Ident(ident) => {
|
||||
match &*ident.name.as_str() {
|
||||
"ref" | "mut" => "kw-2",
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue