Simplify use of keyword symbols They mirror non-keyword symbols now (see https://github.com/rust-lang/rust/pull/60630). `keywords::MyKeyword.name()` -> `kw::MyKeyword` `keywords::MyKeyword.ident()` -> `Ident::with_empty_ctxt(kw::MyKeyword)` (not common) `keywords::Invalid.ident()` -> `Ident::invalid()` (more common) Keywords are simply `Symbol` constants now, the `Keyword` struct is eliminated. This means `kw::MyKeyword` can now be used in `match` in particular. |
||
|---|---|---|
| .. | ||
| analyze_source_file.rs | ||
| Cargo.toml | ||
| edition.rs | ||
| hygiene.rs | ||
| lib.rs | ||
| span_encoding.rs | ||
| symbol.rs | ||