diff options
| author | Chris Denton <chris@chrisdenton.dev> | 2025-04-23 00:43:07 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-23 00:43:07 +0000 |
| commit | b03267fc1164c1e026e55cc960f8ec0a7b805f17 (patch) | |
| tree | ad2ac4de3384673476da9ade57f7d82a94a1af66 /compiler/rustc_mir_transform/src/coverage/query.rs | |
| parent | 090f6a9629ee360f913c6669099921395ee7b111 (diff) | |
| parent | 5d2952100f587ee1badfd39280e6c90a28e35c3a (diff) | |
| download | rust-b03267fc1164c1e026e55cc960f8ec0a7b805f17.tar.gz rust-b03267fc1164c1e026e55cc960f8ec0a7b805f17.zip | |
Rollup merge of #140160 - oli-obk:lang-items, r=jieyouxu
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
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/query.rs')
0 files changed, 0 insertions, 0 deletions
