about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/example.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-07-01 00:35:06 +0200
committerGitHub <noreply@github.com>2023-07-01 00:35:06 +0200
commite1165300e82bd43c7af794ffc8c3ffcf963e3eb1 (patch)
tree9cbdd589e554735250b97265cd6ea38ef6e31859 /compiler/rustc_codegen_gcc/example/example.rs
parente82396957395dfddd7f715490246456fa16d49af (diff)
parent91bc3f0ff65851a4ba8f854f2f867a8980a5093c (diff)
downloadrust-e1165300e82bd43c7af794ffc8c3ffcf963e3eb1.tar.gz
rust-e1165300e82bd43c7af794ffc8c3ffcf963e3eb1.zip
Rollup merge of #113187 - compiler-errors:local-ty, r=b-naber
No need to distinguish `LocalTy` from `Ty`

I think the distinction between `decl_ty` and `revealed_ty` was from when you were allowed to put `impl Trait` in let bindings... I don't think we need that anymore, and it makes typeck that much more confusing :laughing:

Side-note: I don't know why we store this in a separate field [`locals`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_hir_typeck/struct.Inherited.html#structfield.locals) in `Inherited`, rather than just the `TypeckResults`... Might look into changing that next.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/example.rs')
0 files changed, 0 insertions, 0 deletions