rust/compiler/rustc_smir/src
Jubilee 4036472749
Rollup merge of #132131 - celinval:smir-crate-defs, r=compiler-errors
[StableMIR] API to retrieve definitions from crates

Add functions to retrieve function definitions and static items from all crates (local and external).

For external crates, we're still missing items from trait implementation and primitives.

r? ````@compiler-errors:```` Do you know what is the best way to retrieve the associated items for primitives and trait implementations for external crates? Thanks!
2024-11-07 18:48:22 -08:00
..
rustc_internal ty::BrK -> ty::BoundRegionKind::K 2024-11-04 04:45:52 +00:00
rustc_smir Rollup merge of #132131 - celinval:smir-crate-defs, r=compiler-errors 2024-11-07 18:48:22 -08:00
lib.rs Add warn(unreachable_pub) to rustc_smir. 2024-09-03 08:49:54 +10:00