rust/compiler/rustc_codegen_ssa/src
Dylan DPC 787c6f3365
Rollup merge of #94308 - tmiasko:normalize-main-ret-ty, r=oli-obk
Normalize main return type during mono item collection & codegen

The issue can be observed with `-Zprint-mono-items=lazy` in:

```rust
#![feature(termination_trait_lib)]
fn main() -> impl std::process::Termination { }
```
```
BEFORE: MONO_ITEM fn std::rt::lang_start::<impl std::process::Termination> ````@@```` t.93933fa2-cgu.2[External]
AFTER:  MONO_ITEM fn std::rt::lang_start::<()> ````@@```` t.df56e625-cgu.1[External]
```
2022-02-24 21:42:16 +01:00
..
back Auto merge of #93816 - bjorn3:rlib_metadata_first, r=nagisa 2022-02-20 11:32:40 +00:00
coverageinfo Remove in_band_lifetimes from rustc_codegen_ssa 2021-12-15 00:41:41 -05:00
debuginfo use List<Ty<'tcx>> for tuples 2022-02-21 07:09:11 +01:00
mir Auto merge of #94123 - bjorn3:cg_ssa_singleton_builder, r=tmiasko 2022-02-24 12:28:19 +00:00
traits Introduce Bx::switch_to_block 2022-02-24 12:18:21 +01:00
base.rs Normalize main return type during mono item collection & codegen 2022-02-23 22:33:50 +01:00
common.rs Adopt let else in more places 2022-02-19 17:27:43 +01:00
glue.rs Attach range metadata to alignment loads from vtables 2021-12-05 16:07:27 -05:00
lib.rs add a rustc::query_stability lint 2022-02-01 10:15:59 +01:00
meth.rs Auto merge of #89597 - michaelwoerister:improve-vtable-debuginfo, r=wesleywiser 2021-10-11 04:31:47 +00:00
mono_item.rs rustc_target: move LayoutOf to ty::layout. 2021-09-02 01:17:14 +03:00
target_features.rs On ARM, use relocation_model to detect whether r9 should be reserved 2022-02-21 18:28:22 +00:00