about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-06-04 13:33:03 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-06-06 08:26:54 +1000
commit4c731c2f6b5d1305515c7c6820f0da731c7af4c3 (patch)
tree7dbb078ad0e47b679ab9cfcc0bccaa9cef6e9c67 /compiler/rustc_parse/src/parser/expr.rs
parent13f2bc9a651abe9cb1711293be7eae8d48169300 (diff)
downloadrust-4c731c2f6b5d1305515c7c6820f0da731c7af4c3.tar.gz
rust-4c731c2f6b5d1305515c7c6820f0da731c7af4c3.zip
Inline and remove `check_builtin_attribute`.
It's small and has a single call site.

Also change the second `parse_meta` call to use a simple `match`, like
the first `parse_meta` call, instead of a confusing `map_err`+`ok`
combination.
Diffstat (limited to 'compiler/rustc_parse/src/parser/expr.rs')
0 files changed, 0 insertions, 0 deletions