about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2022-11-29 13:36:00 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2022-12-02 13:49:19 +1100
commitc91dd22870d40315c3e0e5b45077516286e918fd (patch)
tree92764d2075648883c9c1f191bab4ab2a02d4aba3 /library/std/src/sys/unix/stack_overflow.rs
parentc7e4abd44469d20fad3033608d7ece501609ed34 (diff)
downloadrust-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