]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #103368 - compiler-errors:normalization-ambiguity-bug, r=oli-obk
authorMatthias Krüger <matthias.krueger@famsik.de>
Sun, 23 Oct 2022 06:14:32 +0000 (08:14 +0200)
committerGitHub <noreply@github.com>
Sun, 23 Oct 2022 06:14:32 +0000 (08:14 +0200)
commit72f75d18b15608cfe6461892f3ed53cdcdf248d8
tree88fa6cd940d91186b3ac91c1cbf5d04712d94718
parentff689a1404081871afd31814f31db508bcd560dc
parentcb61113cdc158de18993a94bc6bb39aee6950a9b
Rollup merge of #103368 - compiler-errors:normalization-ambiguity-bug, r=oli-obk

Delay ambiguity span bug in normalize query iff not rustdoc

Oli and I decided that the compiler debt of adding another usage of `tcx.sess.opts.actually_rustdoc` is fine, because we don't really want to add more complexity to the normalize query, and moving rustdoc to use fulfill normalization (`fully_normalize`, i.e. not use the normalize query) is unnecessary overhead given that it's skipping binders and stuff.

r? oli-obk

Fixes #102827
Fixes #103181