mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 14:52:56 +03:00
8d4655d9ec
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)]`).
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.