diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-02-24 21:42:16 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-24 21:42:16 +0100 |
| commit | 787c6f3365f9327e3d6c59d7ec157b390606a402 (patch) | |
| tree | 2c20b850c4b0480e9382943f761f1c45b4829697 /compiler/rustc_codegen_llvm/src | |
| parent | 6b03a46f27821ef5986bd8ab12e5e65cb98fa790 (diff) | |
| parent | f047af24b3b90f19b89fac80822acd69613b89ec (diff) | |
| download | rust-787c6f3365f9327e3d6c59d7ec157b390606a402.tar.gz rust-787c6f3365f9327e3d6c59d7ec157b390606a402.zip | |
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]
```
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
