about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-06-22 06:29:33 +0200
committerGitHub <noreply@github.com>2023-06-22 06:29:33 +0200
commitcc93c5fca098dbbe9024446eb3d2f5b1f3bf5d90 (patch)
treeaa45dc117b876c7f645596570ef899bbf46ef2af /compiler/rustc_parse/src/errors.rs
parentf272fc3a86c23682ff1e52c0893d6df2454bb0cd (diff)
parentc4cd6071007d12867112eb2a9ae10d07332d1d9a (diff)
downloadrust-cc93c5fca098dbbe9024446eb3d2f5b1f3bf5d90.tar.gz
rust-cc93c5fca098dbbe9024446eb3d2f5b1f3bf5d90.zip
Rollup merge of #112876 - compiler-errors:check-subst-compat-in-OpaqueTypeCollector, r=oli-obk
Don't substitute a GAT that has mismatched generics in `OpaqueTypeCollector`

Fixes #111828

I didn't put up minimized UI tests for #112510 or #112873 because they'd minimize to literally the same code, but with different substs on the trait/impl. I don't think that warrants duplicate tests given the nature of the fix.

r? `@oli-obk`

----

Side-note: I checked, and this isn't fixed by #112652 -- I think we discussed whether or not that PR fixed it either intentionally or by accident. The code here isn't really touched by that PR either as far as I can tell?

Also, sorry, did some other drive-bys. Hope it doesn't make rebasing #112652 too difficult :sweat_smile:
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
0 files changed, 0 insertions, 0 deletions