Michael Goulet
|
8588f79802
|
Do not use ParamEnv::and to cache param-env with candidate
|
2022-03-26 21:11:06 -07:00 |
|
lightning1141
|
85e67b9a59
|
Fix ice when error reporting recursion errors
Fixes: #90319, #92148, #93955
|
2022-03-25 02:53:30 +08:00 |
|
Deadbeef
|
1f3ee7f32e
|
Rename ~const Drop to ~const Destruct
|
2022-03-21 17:04:03 +11:00 |
|
Michael Goulet
|
6ed42a7ca4
|
Check const Drop impls considering ConstIfConst bounds
|
2022-01-18 01:44:46 -08:00 |
|
Deadbeef
|
84b1d859c8
|
Revert "Auto merge of #91491 - spastorino:revert-91354, r=oli-obk"
This reverts commit ff2439b7b9 , reversing
changes made to 2a9e0831d6 .
|
2021-12-12 12:34:46 +08:00 |
|
Santiago Pastorino
|
85b723c4e6
|
Revert "Auto merge of #91354 - fee1-dead:const_env, r=spastorino"
This reverts commit 18bb8c61a9 , reversing
changes made to d9baa36190 .
|
2021-12-03 10:11:21 -03:00 |
|
Oli Scherer
|
a848c4ba3f
|
Avoid storing the ImplPolarity and Constness next to a TraitRef and use TraitPredicate instead
|
2021-11-29 21:19:49 +08:00 |
|
Oli Scherer
|
d161cc2071
|
Replace ConstnessAnd<TraitRef> with TraitPredicate which conveys the same information
|
2021-11-29 21:19:48 +08:00 |
|
Oli Scherer
|
b16c811f1c
|
Prefer TraitPredicate over ConstnessAnd<TraitRef>
|
2021-11-29 21:19:48 +08:00 |
|
Santiago Pastorino
|
85c8fd9c94
|
Make EvaluationCache consider polarity as cache's key
|
2021-10-20 12:10:46 -03:00 |
|
Santiago Pastorino
|
8b0bfb0dcb
|
Consider negative polarity on overlap check
|
2021-10-20 12:10:45 -03:00 |
|
John Kugelman
|
169113935f
|
Fix spelling: Cannonical -> Canonical
|
2021-10-10 00:44:34 -04:00 |
|
Tom Farmer
|
0950d5afe2
|
Issue 89275 fix and test
Issue 89275 fix and test
Fix librustdoc OverflowError usage
rust tidy run
Issue 89275 fix and test
|
2021-10-05 22:43:06 +01:00 |
|
Deadbeef
|
f8aa73d3dd
|
Coerce const FnDefs to implement const Fn traits
|
2021-09-15 11:48:27 +00:00 |
|
Deadbeef
|
a13b13ff46
|
Const drop selection candidates
|
2021-09-09 05:21:31 +00:00 |
|
Frank Steffahn
|
bf88b113ea
|
Fix typos “a”→“an”
|
2021-08-22 15:35:11 +02:00 |
|
Charles Lew
|
1e605023ec
|
Properly generate multiple candidates for trait upcasting coercion.
|
2021-08-18 13:00:27 +08:00 |
|
Deadbeef
|
3bab45d2ac
|
Make selection and evaluation caches use constness
|
2021-08-13 09:28:49 +00:00 |
|
Simon Sapin
|
696b239f72
|
Add ptr::Pointee trait (for all types) and ptr::metadata function
RFC: https://github.com/rust-lang/rfcs/pull/2580
|
2021-02-15 14:27:12 +01:00 |
|
Jonas Schievink
|
ee6f42ba94
|
Thread Constness through selection
|
2020-11-22 02:13:53 +01:00 |
|
Matthew Jasper
|
50dde2e4d8
|
Normalize when finding trait object candidates
|
2020-10-22 08:18:29 +01:00 |
|
Matthew Jasper
|
cfee49593d
|
Handle multiple applicable projection candidates
|
2020-10-06 11:19:31 +01:00 |
|
mark
|
9e5f7d5631
|
mv compiler to compiler/
|
2020-08-30 18:45:07 +03:00 |
|