rust/compiler/rustc_borrowck
Chris Denton b03267fc11
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
2025-04-23 00:43:07 +00:00
..
src Rollup merge of #140160 - oli-obk:lang-items, r=jieyouxu 2025-04-23 00:43:07 +00:00
Cargo.toml Revert "Use workspace lints for crates in compiler/ #138084" 2025-03-10 18:12:47 +08:00
messages.ftl move check_opaque_type_parameter_valid 2025-04-03 11:13:10 +02:00