rust/compiler/rustc_middle/src
bors a9cd294cf2 Auto merge of #77720 - matthewjasper:fix-trait-ices, r=nikomatsakis
Fix trait solving ICEs

- Selection candidates that are known to be applicable are preferred
  over candidates that are not.
- Don't ICE if a projection/object candidate is no longer applicable
  (this can happen due to cycles in normalization)
- Normalize supertraits when finding trait object candidates

Closes #77653
Closes #77656

r? `@nikomatsakis`
2020-10-22 14:40:20 +00:00
..
dep_graph mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
hir Replace unnecessary map_or_else with map_or 2020-10-18 11:01:09 +02:00
ich Replace absolute paths with relative ones 2020-10-13 14:16:45 +02:00
infer use relevant span when unifying ConstVarValues 2020-09-23 11:00:44 +02:00
middle Calculate visibilities once in resolve 2020-10-19 11:57:50 +03:00
mir Lift: take self by value 2020-10-21 23:59:35 +02:00
query Calculate visibilities once in resolve 2020-10-19 11:57:50 +03:00
traits Normalize when finding trait object candidates 2020-10-22 08:18:29 +01:00
ty Auto merge of #77871 - Julian-Wollersberger:less-query-context, r=oli-obk 2020-10-22 12:24:55 +00:00
util Remove unused #[allow(...)] statements from compiler/ 2020-09-26 01:25:55 +02:00
arena.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
lib.rs /nightly/nightly-rustc 2020-09-23 21:51:56 +02:00
lint.rs Prevent forbid from being ignored if overriden at the same level. 2020-10-04 13:14:01 -04:00
macros.rs Lift: take self by value 2020-10-21 23:59:35 +02:00
tests.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00