rust/compiler/rustc_query_system/src
bors f77f4d55bd Auto merge of #107542 - compiler-errors:param-envs-with-inference-vars-are-cursed, r=jackh726
Don't call `with_reveal_all_normalized` in const-eval when `param_env` has inference vars in it

**what:** This slightly shifts the order of operations from an existing hack:

5b6ed253c4/compiler/rustc_middle/src/ty/consts/kind.rs (L225-L230)

in order to avoid calling a tcx query (`TyCtxt::reveal_opaque_types_in_bounds`, via `ParamEnv::with_reveal_all_normalized`) when a param-env has inference variables in it.

**why:** This allows us to enable fingerprinting of query keys/values outside of incr-comp in deubg mode, to make sure we catch other places where we're passing infer vars and other bad things into query keys. Currently that (bbf33836b9) crashes because we introduce inference vars into a param-env in the blanket-impl finder in rustdoc 😓

5b6ed253c4/src/librustdoc/clean/blanket_impl.rs (L43)

See the CI failure here: https://github.com/rust-lang/rust/actions/runs/4058194838/jobs/6984834619
2023-02-18 23:43:42 +00:00
..
dep_graph Auto merge of #108058 - Zoxc:query-ctxtx-byval, r=cjgillot 2023-02-17 08:23:53 +00:00
ich Fold Definitions into the untracked data 2022-12-09 14:59:39 +00:00
query Auto merge of #107542 - compiler-errors:param-envs-with-inference-vars-are-cursed, r=jackh726 2023-02-18 23:43:42 +00:00
cache.rs Rename Ctxt and CTX to Tcx and Qcx 2022-11-06 13:25:06 +01:00
error.rs Always evaluate vecs of subdiagnostics eagerly 2022-12-04 01:13:21 +01:00
lib.rs Fingerprint even when incr comp is disabled in debug mode 2023-01-31 20:43:29 +00:00
values.rs Use DepKind instead of &str 2022-12-23 18:39:49 +05:30