Andreas Liljeqvist
bc95994c32
bugfix
2021-09-09 10:41:20 +02:00
Andreas Liljeqvist
a2ee1420b8
Wrap
2021-09-09 10:41:20 +02:00
Andreas Liljeqvist
9095cf9905
rename is_valid_for
to is_valid
2021-09-09 10:41:19 +02:00
Andreas Liljeqvist
dd34e0c966
Rename (un)signed
to (un)signed_int
2021-09-09 10:41:19 +02:00
Andreas Liljeqvist
9129f4306f
Move unsigned_max
etc into Size
again
2021-09-09 10:41:19 +02:00
Andreas Liljeqvist
459c9108e4
Remove clone
2021-09-09 10:41:19 +02:00
Andreas Liljeqvist
5b2f757dae
Make abi::Abi
Copy
and remove a *lot* of refs
...
fix
fix
Remove more refs and clones
fix
more
fix
2021-09-09 10:41:19 +02:00
Andreas Liljeqvist
86ff6aeb82
Fix docstring
2021-09-09 10:41:18 +02:00
Andreas Liljeqvist
da92cd6dcf
Use special Debug
format when start
> end
2021-09-09 10:41:18 +02:00
Andreas Liljeqvist
f5d8749f85
Remove contains_zero
, respect the compiler
2021-09-09 10:41:18 +02:00
Andreas Liljeqvist
021c3346ed
derive Copy for WrappingRange and Scalar
2021-09-09 10:41:18 +02:00
Andreas Liljeqvist
4c46296f22
fix match
2021-09-09 10:41:18 +02:00
Andreas Liljeqvist
05cd48b008
Add methods for checking for full ranges to Scalar
and WrappingRange
...
Move *_max methods back to util
change to inline instead of inline(always)
Remove valid_range_exclusive from scalar
Use WrappingRange instead
implement always_valid_for in a safer way
Fix accidental edit
2021-09-09 10:41:17 +02:00
bors
02a57fa132
Auto merge of #88748 - bjorn3:try_fix_perf_regression, r=wesleywiser
...
Revert "Remove optimization_fuel_crate from Session"
This reverts commit 5464b2e713
.
This hopefully fixes the perf regression in https://github.com/rust-lang/rust/pull/88530#issuecomment-915314117 .
2021-09-09 06:16:04 +00:00
Deadbeef
f749e05f6b
Allow ~const bounds on inherent impls
2021-09-09 05:21:33 +00:00
Deadbeef
146abdd119
Add another test case + fmt
2021-09-09 05:21:33 +00:00
Deadbeef
49ac725d51
fix precise live drops
2021-09-09 05:21:33 +00:00
Deadbeef
122e91e330
do not require lang item
2021-09-09 05:21:32 +00:00
Deadbeef
82117289f2
Remove the queries
2021-09-09 05:21:32 +00:00
Deadbeef
1ca83c6451
Use trait select logic instead of query
2021-09-09 05:21:32 +00:00
Deadbeef
f0a52128ee
fmt
2021-09-09 05:21:31 +00:00
Deadbeef
4eab5c1f7b
Failing test
2021-09-09 05:21:31 +00:00
Deadbeef
a13b13ff46
Const drop selection candidates
2021-09-09 05:21:31 +00:00
Deadbeef
894ce921a0
better test
2021-09-09 05:21:30 +00:00
Deadbeef
48a3ba9a33
fmt
2021-09-09 05:21:30 +00:00
Deadbeef
f6f5180d5f
Add a simple test case
2021-09-09 05:21:29 +00:00
Deadbeef
9125fbfd60
Do not lint for ~const Drop bounds
2021-09-09 05:21:29 +00:00
Deadbeef
104e40fb74
Const dropping
2021-09-09 05:21:29 +00:00
Deadbeef
d9797d23d5
Remove unused query
2021-09-09 05:21:28 +00:00
Deadbeef
9c1a91628b
cleanup hir hack
2021-09-09 05:21:28 +00:00
bors
c5cbf7852a
Auto merge of #88752 - Mark-Simulacrum:bootstrap-bump, r=m-ou-se
...
Bump stage0 compiler to 1.56
r? `@pietroalbini` (but others should feel free to steal)
2021-09-09 03:01:47 +00:00
Noble-Mushtak
804ccfaaab
Fatal error for functions with more than 65535 arguments
2021-09-08 21:14:49 -04:00
Mark Rousskov
b4e7649d6d
Bump stage0 compiler to 1.56
2021-09-08 20:51:05 -04:00
Ellen
fd9bb30ab8
CI please
2021-09-09 01:32:03 +01:00
Ellen
cd2915eddb
fmt
2021-09-09 01:32:03 +01:00
Ellen
3212734bd7
resolve from_hir_call
FIXME
2021-09-09 01:32:03 +01:00
Ellen
8c7954dc42
add a CastKind
to Node::Cast
2021-09-09 01:32:03 +01:00
Ellen
955e2b2da0
nits
2021-09-09 01:32:03 +01:00
Ellen
79be080255
remove comment
2021-09-09 01:32:03 +01:00
Ellen
406d2ab95d
rename mir -> thir around abstract consts
2021-09-09 01:32:03 +01:00
Ellen
15101c8e95
remove debug stmts
2021-09-09 01:32:03 +01:00
Ellen
1f57f8b903
remove WorkNode
2021-09-09 01:32:03 +01:00
Ellen
4cbcb0936a
handle ExprKind::NeverToAny
2021-09-09 01:32:03 +01:00
Ellen
fc63e9a8fb
dont build abstract const for monomorphic consts
2021-09-09 01:32:03 +01:00
Ellen
08e8644016
move thir visitor to rustc_middle
2021-09-09 01:32:03 +01:00
Ellen
c170dcf04c
tidy
2021-09-09 01:32:03 +01:00
Ellen
47b16f4ac9
bless stderr
2021-09-09 01:32:03 +01:00
Ellen
4483c2bdf6
dont support blocks
2021-09-09 01:32:03 +01:00
Ellen
9b2913814b
as casts and block exprs
2021-09-09 01:32:03 +01:00
Ellen
2987f4ba42
WIP state
2021-09-09 01:32:03 +01:00