Skip to content

Conversation

compiler-errors
Copy link
Member

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 😆

Side-note: I don't know why we store this in a separate field locals in Inherited, rather than just the TypeckResults... Might look into changing that next.

@rustbot
Copy link
Collaborator

rustbot commented Jun 30, 2023

r? @b-naber

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Jun 30, 2023
@b-naber
Copy link
Contributor

b-naber commented Jun 30, 2023

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Jun 30, 2023

📌 Commit 91bc3f0 has been approved by b-naber

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 30, 2023
Dylan-DPC added a commit to Dylan-DPC/rust that referenced this pull request Jun 30, 2023
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 😆

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.
bors added a commit to rust-lang-ci/rust that referenced this pull request Jun 30, 2023
…iaskrgr

Rollup of 8 pull requests

Successful merges:

 - rust-lang#113072 (str docs: remove "Basic usage" text where not useful)
 - rust-lang#113153 (make HashMap::or_insert_with example more simple)
 - rust-lang#113185 (Set `channel = nightly` in dist profile)
 - rust-lang#113186 (document that the panic in collect_intra_doc_links is load-bearing)
 - rust-lang#113187 (No need to distinguish `LocalTy` from `Ty`)
 - rust-lang#113189 (compiletest: Only trim the end of process output)
 - rust-lang#113191 (Update browser-ui-test version and improve GUI test)
 - rust-lang#113206 (User may want to skip tidy check sometimes)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit e116530 into rust-lang:master Jul 1, 2023
@rustbot rustbot added this to the 1.72.0 milestone Jul 1, 2023
@compiler-errors compiler-errors deleted the local-ty branch August 11, 2023 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants