diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-11-29 13:36:00 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-12-02 13:49:19 +1100 |
| commit | c91dd22870d40315c3e0e5b45077516286e918fd (patch) | |
| tree | 92764d2075648883c9c1f191bab4ab2a02d4aba3 /library/std/src/sys/unix/stack_overflow.rs | |
| parent | c7e4abd44469d20fad3033608d7ece501609ed34 (diff) | |
| download | rust-c91dd22870d40315c3e0e5b45077516286e918fd.tar.gz rust-c91dd22870d40315c3e0e5b45077516286e918fd.zip | |
Remove `token::Lit` from `ast::MetaItemLit`.
`token::Lit` contains a `kind` field that indicates what kind of literal it is. `ast::MetaItemLit` currently wraps a `token::Lit` but also has its own `kind` field. This means that `ast::MetaItemLit` encodes the literal kind in two different ways. This commit changes `ast::MetaItemLit` so it no longer wraps `token::Lit`. It now contains the `symbol` and `suffix` fields from `token::Lit`, but not the `kind` field, eliminating the redundancy.
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
