rust/compiler/rustc_infer
Matthias Krüger 2ad6a39fea
Rollup merge of #108342 - lcnr:opaque-tys, r=oli-obk
apply query response: actually define opaque types

not sure whether this fixes any code considering that #107891 doesn't break anything, but this is currently wrong as the `eq` there should just always fail right now.

We can definitely hit this code if we remove the `replace_opaque_types_with_inference_vars` hack. Doing so without this PR causes a few tests to ICE, e.g.

bd4a96a12d/tests/ui/impl-trait/issue-99642.rs (L1-L7)

r? `@oli-obk`
2023-02-22 20:05:59 +01:00
..
locales errors: generate typed identifiers in each crate 2023-02-22 09:15:53 +00:00
src Rollup merge of #108342 - lcnr:opaque-tys, r=oli-obk 2023-02-22 20:05:59 +01:00
Cargo.toml remove unused imports 2023-02-06 17:40:18 +03:00