rust/compiler/rustc_hir_analysis/src
Matthias Krüger 574a8ba6af
Rollup merge of #132214 - fmease:mv-impl-trait-val-paths, r=compiler-errors
Cleanup: Move an impl-Trait check from AST validation to AST lowering

Namely the one that rejects `impl Trait` in qself types and non-final path segments.
There's no good reason to perform this during AST validation.
We have better infrastructure in place in the AST lowerer (`ImplTraitContext`).
This shaves off a lot of code.
We now lower `impl Trait` in bad positions to `{type error}` which allows us to
remove a special case from HIR ty lowering.

Coincidentally fixes #126725. Well, it only *masks* it by passing `{type error}` to HIR analysis instead of a "bad" opaque. I was able to find a new reproducer for it. See the issue.
2024-10-27 19:49:07 +01:00
..
check Auto merge of #132116 - matthiaskrgr:rollup-3a0ia4r, r=matthiaskrgr 2024-10-24 20:28:20 +00:00
coherence Plumb through param_env to note_type_err 2024-10-24 02:48:08 +00:00
collect Rollup merge of #132043 - compiler-errors:simplify-rbv, r=cjgillot 2024-10-27 19:49:06 +01:00
errors
hir_ty_lowering Rollup merge of #132214 - fmease:mv-impl-trait-val-paths, r=compiler-errors 2024-10-27 19:49:07 +01:00
impl_wf_check Implement const effect predicate in new solver 2024-10-24 09:46:36 +00:00
outlives Implement const effect predicate in new solver 2024-10-24 09:46:36 +00:00
variance
autoderef.rs
bounds.rs Effects cleanup 2024-10-26 10:19:07 +08:00
check_unused.rs
collect.rs tcx.is_const_fn doesn't work the way it is described, remove it 2024-10-25 20:52:39 +02:00
constrained_generic_params.rs
delegation.rs Effects cleanup 2024-10-26 10:19:07 +08:00
errors.rs Rollup merge of #128391 - cafce25:issue-128390, r=lcnr 2024-10-17 12:07:19 +02:00
hir_wf_check.rs
impl_wf_check.rs nightly feature tracking: get rid of the per-feature bool fields 2024-10-23 09:14:41 +01:00
lib.rs nightly feature tracking: get rid of the per-feature bool fields 2024-10-23 09:14:41 +01:00