rust/compiler/rustc_middle
Matthias Krüger d6940fb43d
Rollup merge of #124624 - WaffleLapkin:old_unit, r=fmease
Use `tcx.types.unit` instead of `Ty::new_unit(tcx)`

I don't think there is any need for the function, given that we can just access the `.types`, similarly to all other primitives?
2024-05-02 19:42:50 +02:00
..
src Rollup merge of #124624 - WaffleLapkin:old_unit, r=fmease 2024-05-02 19:42:50 +02:00
Cargo.toml Fix pretty hir for anon consts in diagnostics 2024-04-15 18:48:12 -04:00
messages.ftl Add a custom panic message for resuming gen blocks after they panicked 2023-10-30 10:23:57 +00:00
README.md

For more information about how rustc works, see the rustc dev guide.