rust/compiler/rustc_hir_analysis
Matthias Krüger c1b4d075a2
Rollup merge of #112506 - compiler-errors:const-infer-ice, r=b-naber
Properly check associated consts for infer placeholders

We only reported an error if it was in a "suggestable" position (according to `is_suggestable_infer_ty`) -- this isn't correct for infer tys that can show up in other places in the constant's type, like behind a dyn trait.

fixes #112491
2023-06-14 18:10:30 +02:00
..
src Rollup merge of #112506 - compiler-errors:const-infer-ice, r=b-naber 2023-06-14 18:10:30 +02:00
Cargo.toml
messages.ftl Emit an error when RTN is used with ty/ct params 2023-06-05 19:52:04 +00:00
README.md

For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.