about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/tests.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-05-31 13:56:44 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-06-05 10:38:02 +1000
commit25972aec67e900aeefe4014deecf5ef853a4bab4 (patch)
treee6dc05ce5a99da1034a9f14be016cb480894994b /compiler/rustc_parse/src/parser/tests.rs
parent8964106e44c39cced6cc039bf512a69513a2bbe5 (diff)
downloadrust-25972aec67e900aeefe4014deecf5ef853a4bab4.tar.gz
rust-25972aec67e900aeefe4014deecf5ef853a4bab4.zip
Inline and remove `parse_crate{,_attrs}_from_{file,source_str}`.
All four functions are simple and have a single call site.

This requires making `Parser::parse_inner_attributes` public, which is
no big deal.
Diffstat (limited to 'compiler/rustc_parse/src/parser/tests.rs')
0 files changed, 0 insertions, 0 deletions