rust/compiler/rustc_ast_lowering/src
Jubilee 1d54949765
Rollup merge of #118396 - compiler-errors:ast-lang-items, r=cjgillot
Collect lang items from AST, get rid of `GenericBound::LangItemTrait`

r? `@cjgillot`
cc #115178

Looking forward, the work to remove `QPath::LangItem` will also be significantly more difficult, but I plan on doing it as well. Specifically, we have to change:
1. A lot of `rustc_ast_lowering` for things like expr `..`
2. A lot of astconv, since we actually instantiate lang and non-lang paths quite differently.
3. A ton of diagnostics and clippy lints that are special-cased via `QPath::LangItem`

Meanwhile, it was pretty easy to remove `GenericBound::LangItemTrait`, so I just did that here.
2023-12-15 14:08:15 -08:00
..
asm.rs Annotate some more bugs 2023-12-15 14:45:06 +00:00
block.rs rustc_ast_lowering: remove ref patterns 2022-11-22 18:49:29 +00:00
errors.rs Disallow arm bodies on never patterns 2023-12-03 12:25:46 +01:00
expr.rs Rollup merge of #118759 - compiler-errors:bare-unit-structs, r=petrochenkov 2023-12-13 18:03:33 +01:00
format.rs remove redundant imports 2023-12-10 10:56:22 +08:00
index.rs remove redundant imports 2023-12-10 10:56:22 +08:00
item.rs Annotate some more bugs 2023-12-15 14:45:06 +00:00
lib.rs banish hir::GenericBound::LangItemTrait 2023-12-15 16:17:27 +00:00
lifetime_collector.rs Reduce exposure of some things. 2023-11-28 14:32:40 +11:00
pat.rs Rollup merge of #118157 - Nadrieril:never_pat-feature-gate, r=compiler-errors 2023-11-29 12:34:47 +01:00
path.rs Support async gen fn 2023-12-08 17:23:26 +00:00