Camille GILLOT
|
1f370d9437
|
Use tcx.hir() utils for spans in MIR building.
This corrects the `span_with_body` in the case of closures, which was
incorrectly shortened to the `def_span`.
|
2022-09-13 19:18:23 +02:00 |
|
Nilstrieb
|
d3ee0eaa3f
|
bless ui tests
|
2022-08-22 14:06:55 +02:00 |
|
Camille GILLOT
|
42e4eee893
|
Shorten def_span for more items.
|
2022-07-01 17:39:19 +02:00 |
|
b-naber
|
060acc97db
|
rebase
|
2022-06-14 16:12:28 +02:00 |
|
b-naber
|
705d818bd5
|
implement valtrees as the type-system representation for constant values
|
2022-06-14 16:07:11 +02:00 |
|
Carl Scherer
|
5e4ff26618
|
separate const prop lint from optimizations
|
2022-03-23 16:50:41 +00:00 |
|
oli
|
a76dae4946
|
Fix wording of query description
|
2021-01-04 21:40:38 +00:00 |
|
oli
|
cccd40f9b5
|
Keep an unoptimized duplicate of const fn around
This allows CTFE to reliably detect UB, as otherwise
optimizations may hide UB.
|
2021-01-04 21:40:38 +00:00 |
|
Oliver Scherer
|
182ed8544d
|
Address review comments
|
2020-09-19 10:36:36 +02:00 |
|
Matthew Jasper
|
8894bd220b
|
Add descriptions for all queries
|
2020-05-31 20:15:32 +01:00 |
|
Daniel Worrall
|
e91c3a1d3d
|
Add #24949 assoc constant static recursion test
|
2020-04-29 01:27:28 +01:00 |
|