diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-04-24 14:25:59 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-04-24 16:28:34 +1000 |
| commit | 8d4655d9ec9befc5cdcbb8d7a2961a75aecfc145 (patch) | |
| tree | c210a771356b687af4caf3c6671cf92f8215788b /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | d5ec9b458a4a584164cbfc6a53298560091ecd8c (diff) | |
| download | rust-8d4655d9ec9befc5cdcbb8d7a2961a75aecfc145.tar.gz rust-8d4655d9ec9befc5cdcbb8d7a2961a75aecfc145.zip | |
Rename `NestedMetaItem::name_value_literal`.
It's a highly misleading name, because it's completely different to `MetaItem::name_value_literal`. Specifically, it doesn't match `MetaItemKind::NameValue` (e.g. `#[foo = 3]`), it matches `MetaItemKind::List` (e.g. `#[foo(3)]`).
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
