]> git.lizzy.rs Git - rust.git/commitdiff
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)
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


Trivial merge