mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-09 00:17:44 +00:00
![]() Use `is_lang_item` and `as_lang_item` instead of handrolling their logic Various cleanups and deduplication. Most notably `if is_lang_item(foo, bar) {} else if is_lang_item...` chains are turned into matches. No behaviour changes intended beyond turning ICEs into fatal "lang item not found" errors |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |