about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-08-30 07:18:12 +0200
committerGitHub <noreply@github.com>2023-08-30 07:18:12 +0200
commit58c690729ccaacb95f08323e77cc5f1dd74324f9 (patch)
treeeabf27d9dc92bd0a19761f4ec5367127671b4338 /compiler/rustc_const_eval/src
parent2128efd87fcbd165e0885512c0f5d830092bb1a4 (diff)
parent507f10baee9ea0b884785aa4f54e3ffa6a1d82b2 (diff)
downloadrust-58c690729ccaacb95f08323e77cc5f1dd74324f9.tar.gz
rust-58c690729ccaacb95f08323e77cc5f1dd74324f9.zip
Rollup merge of #115347 - y21:generic-bound-impl-trait-ty, r=compiler-errors
suggest removing `impl` in generic trait bound position

rustc already does this recovery in type param position (`<T: impl Trait>` -> `<T: Trait>`).
This PR also adds that suggestion in trait bound position (e.g. `where T: impl Trait` or `trait Trait { type Assoc: impl Trait; }`)
Diffstat (limited to 'compiler/rustc_const_eval/src')
0 files changed, 0 insertions, 0 deletions