Esteban Kuber
8a3f712518
Refactor FulfillmentError
to track less data
...
Move the information about pointing at the call argument expression in
an unmet obligation span from the `FulfillmentError` to a new
`ObligationCauseCode`.
2021-09-16 12:12:27 +00:00
bors
d2dfb0eb8e
Auto merge of #88811 - jackh726:issue-88446, r=nikomatsakis
...
Use a HashMap for UniverseInfo in mir borrowck
Fixes #88446
r? `@nikomatsakis`
2021-09-12 17:04:10 +00:00
bors
9ef27bf7dc
Auto merge of #88771 - jackh726:wf_tys_set, r=nikomatsakis
...
Use FxHashSet instead of Vec for well formed tys
Trying to recover perf from #88312
r? `@ghost`
2021-09-12 10:32:55 +00:00
Matthias Krüger
c1e96085d3
don't clone types that are Copy (clippy::clone_on_copy)
2021-09-11 10:18:56 +02:00
jackh726
47035e4d08
Use FxHashMap
2021-09-09 23:28:20 -04:00
jackh726
0a3c6bb887
In relate_tys, when creating new universes, insert missing universes as other
2021-09-09 18:04:59 -04:00
Fabian Wolff
57fcb2e2d6
Fix two uses of span_note
when the source is not available
2021-09-09 21:17:05 +02:00
jackh726
8e7613f9e0
Only add_implied_bounds for norm_ty if different
2021-09-09 11:26:16 -04:00
Camille GILLOT
924dbc36c9
Rebase fallout.
2021-09-08 20:40:30 +02:00
Camille GILLOT
c5fc2609f0
Rename rustc_mir to rustc_const_eval.
2021-09-07 20:46:26 +02:00
Camille GILLOT
fd9c04fe32
Move the dataflow framework to its own crate.
2021-09-07 19:57:07 +02:00
Camille GILLOT
31a61ccc38
Move rustc_mir::borrow_check to new crate rustc_borrowck.
2021-09-07 00:29:22 +02:00