]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #107125 - WaffleLapkin:expect_an_item_in_your_hir_by_the_next_morning...
authorMatthias Krüger <matthias.krueger@famsik.de>
Mon, 30 Jan 2023 16:50:08 +0000 (17:50 +0100)
committerGitHub <noreply@github.com>
Mon, 30 Jan 2023 16:50:08 +0000 (17:50 +0100)
commit4ac1796267c3af95cb97d630639d8938237586f6
tree4f8f980b5f3f3bcd8c05a27a55f5b2a263f0f21b
parent006ca9b14da1e0145844598b3d6a554c042c702a
parent883145f75d105abc32911f536738f66d74d32f4f
Rollup merge of #107125 - WaffleLapkin:expect_an_item_in_your_hir_by_the_next_morning, r=Nilstrieb

Add and use expect methods to hir.

[The future has come](https://github.com/rust-lang/rust/pull/106090/files#r1070062462).

r? `@Nilstrieb`

tbh I'm not even sure if it's worth it
compiler/rustc_hir/src/hir.rs
compiler/rustc_hir_analysis/src/astconv/mod.rs
compiler/rustc_hir_analysis/src/check/compare_impl_item.rs
compiler/rustc_hir_analysis/src/check/wfcheck.rs
compiler/rustc_hir_analysis/src/coherence/builtin.rs
compiler/rustc_hir_analysis/src/collect.rs