rust/compiler/rustc_trait_selection/src/traits
Dylan DPC 99350de0d5
Rollup merge of #99666 - compiler-errors:issue-99663, r=lcnr
Restore `Opaque` behavior to coherence check

Fixes #99663.

This broke in 84c3fcd2a0. I'm not exactly certain that adding this behavior back is necessarily correct, but at least the UI test I provided may stimulate some thoughts.

I think delaying a bug here is certainly not correct in the case of opaques -- if we want to change coherence behavior for opaques, then we should at least be emitting a new error.

r? ``@lcnr``
2022-07-26 14:26:57 +05:30
..
error_reporting Combine redundant obligation cause codes 2022-07-24 19:35:53 +00:00
query Auto merge of #99181 - lcnr:arenaGTrc, r=wesleywiser 2022-07-18 05:50:54 +00:00
select Auto merge of #99521 - fee1-dead-contrib:const_fix_hax, r=oli-obk 2022-07-22 12:48:29 +00:00
specialize move considering_regions to the infcx 2022-07-21 13:08:56 +02:00
auto_trait.rs region_outlives_predicate no snapshot 2022-07-21 13:09:01 +02:00
chalk_fulfill.rs Update TypeVisitor paths 2022-07-06 06:41:53 +01:00
codegen.rs move considering_regions to the infcx 2022-07-21 13:08:56 +02:00
coherence.rs Restore Opaque behavior to coherence check 2022-07-25 23:38:41 +00:00
const_evaluatable.rs handle consts with param/infer in const_eval_resolve better 2022-07-25 23:41:13 +00:00
engine.rs move considering_regions to the infcx 2022-07-21 13:08:56 +02:00
fulfill.rs region_outlives_predicate no snapshot 2022-07-21 13:09:01 +02:00
misc.rs Update TypeVisitor paths 2022-07-06 06:41:53 +01:00
mod.rs move considering_regions to the infcx 2022-07-21 13:08:56 +02:00
object_safety.rs Move abstract const to rustc_middle::ty 2022-07-12 02:21:31 +00:00
on_unimplemented.rs Clean up condition evaluation system 2022-05-24 13:43:08 +02:00
project.rs eagerly check for bound vars of predicates 2022-07-14 12:48:50 +02:00
relationships.rs change map_bound(|_| x to rebind(x 2022-07-21 07:45:49 +00:00
structural_match.rs Deny floats even when adt_const_params is enabled 2022-07-11 00:04:00 +00:00
util.rs Update TypeVisitor paths 2022-07-06 06:41:53 +01:00
wf.rs Instantiate constness in wfcheck 2022-07-24 07:57:05 +00:00