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
|
a13b13ff46
|
Const drop selection candidates
|
2021-09-09 05:21:31 +00: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
|
c170dcf04c
|
tidy
|
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 |
|
Mark Rousskov
|
2eac09d258
|
Use index newtyping for TyVid
|
2021-09-06 22:38:06 -04:00 |
|
Gary Guo
|
97214eecc5
|
Add query own_existential_vtable_entries
|
2021-09-05 18:13:32 +01:00 |
|
Gary Guo
|
871eb6233e
|
Stop allocating vtable entries for non-object-safe methods
|
2021-09-05 18:13:32 +01:00 |
|
Ethan Brierley
|
b7d99983f8
|
Add line that was unintentionally removed
|
2021-09-04 23:13:15 +01:00 |
|
Ethan Brierley
|
fc5633fed6
|
Make fields on AbstractConst private
|
2021-09-04 16:28:55 +01:00 |
|
Ethan Brierley
|
6e4061819f
|
Remove left over comment
|
2021-09-04 15:49:02 +01:00 |
|
Ethan Brierley
|
22c2738573
|
Minor cleanup: make imports more consistent
|
2021-09-04 15:47:00 +01:00 |
|
Ethan Brierley
|
85d6029c13
|
AbstractConst::root : Always run subst when Node is Leaf
|
2021-09-04 15:44:26 +01:00 |
|
bors
|
c5799b2a73
|
Auto merge of #88618 - m-ou-se:rollup-6tss5z6, r=m-ou-se
Rollup of 7 pull requests
Successful merges:
- #88202 (Add an example for deriving PartialOrd on enums)
- #88483 (Fix LLVM libunwind build for non-musl targets)
- #88507 (Add test case for using `slice::fill` with MaybeUninit)
- #88557 (small const generics cleanup)
- #88579 (remove redundant / misplaced sentence from docs)
- #88610 (Update outdated docs of array::IntoIter::new.)
- #88613 (Update primitive docs for rust 2021.)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
|
2021-09-03 11:37:52 +00:00 |
|
Mara Bos
|
4b5da4aefe
|
Rollup merge of #88557 - lcnr:const-generics-cleanup, r=BoxyUwU
small const generics cleanup
|
2021-09-03 13:30:48 +02:00 |
|
bors
|
e4e4179539
|
Auto merge of #86454 - tlyu:refactor-unsized-suggestions, r=davidtwco
Refactor unsized suggestions
`@rustbot` label +A-diagnostics +A-traits +A-typesystem +C-cleanup +T-compiler
|
2021-09-03 08:51:21 +00:00 |
|
Aaron Hill
|
611191f54c
|
Report cycle error using 'deepest' obligation in the cycle
|
2021-09-02 11:49:32 -05:00 |
|
Aaron Hill
|
f2d9ee9c34
|
Preserve most sub-obligations in the projection cache
|
2021-09-02 11:10:40 -05:00 |
|
Michael Howell
|
733bdd079a
|
fix(rustc): suggest items be borrowed in for i in items[x..]
Fixes #87994
|
2021-09-01 20:14:01 -07:00 |
|
lcnr
|
fc2a2650e2
|
cleanup const generics FIXME
|
2021-09-01 11:41:06 +02:00 |
|
Cameron Steffen
|
2f4e86b9ef
|
Enforce diverging let...else
|
2021-08-30 20:18:42 -05:00 |
|
Ellen
|
fcc2badf9b
|
rename const_evaluatable_checked to generic_const_exprs
✨
|
2021-08-30 11:00:21 +02:00 |
|
Deadbeef
|
f3d96e9391
|
fmt
|
2021-08-27 08:09:00 +00:00 |
|
Deadbeef
|
80e1ee5aee
|
Add ty::BoundConstness
|
2021-08-27 06:49:18 +00:00 |
|
bors
|
d5cd3205fd
|
Auto merge of #88371 - Manishearth:rollup-pkkjsme, r=Manishearth
Rollup of 11 pull requests
Successful merges:
- #87832 (Fix debugger stepping behavior with `match` expressions)
- #88123 (Make spans for tuple patterns in E0023 more precise)
- #88215 (Reland #83738: "rustdoc: Don't load all extern crates unconditionally")
- #88216 (Don't stabilize creation of TryReserveError instances)
- #88270 (Handle type ascription type ops in NLL HRTB diagnostics)
- #88289 (Fixes for LLVM change 0f45c16f2caa7c035e5c3edd40af9e0d51ad6ba7)
- #88320 (type_implements_trait consider obligation failure on overflow)
- #88332 (Add argument types tait tests)
- #88340 (Add `c_size_t` and `c_ssize_t` to `std::os::raw`.)
- #88346 (Revert "Add type of a let tait test impl trait straight in let")
- #88348 (Add field types tait tests)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
|
2021-08-27 01:07:17 +00:00 |
|
Manish Goregaokar
|
c418a48737
|
Rollup merge of #88320 - sexxi-goose:issue-88103, r=nikomatsakis
type_implements_trait consider obligation failure on overflow
Fixes: #88103
|
2021-08-26 12:38:11 -07:00 |
|
lcnr
|
7cbfa2ee33
|
rebase
|
2021-08-26 11:14:31 +02:00 |
|
lcnr
|
f3996f6a88
|
review
|
2021-08-26 11:14:31 +02:00 |
|
lcnr
|
bc0156bace
|
shrink ty::PredicateKind again
|
2021-08-26 11:00:30 +02:00 |
|
lcnr
|
caa975c89e
|
use ty::Unevaluated instead of def substs pair
|
2021-08-26 11:00:30 +02:00 |
|
lcnr
|
ab9108b70f
|
update TypeFlags to deal with missing ct substs
|
2021-08-26 11:00:30 +02:00 |
|
lcnr
|
cc47998e28
|
add tcx to fn walk
|
2021-08-26 11:00:30 +02:00 |
|
lcnr
|
bfaf13af4e
|
make unevaluated const substs optional
|
2021-08-26 11:00:30 +02:00 |
|
lcnr
|
f4b606fd17
|
require a tcx for TypeVisitor
|
2021-08-26 10:54:01 +02:00 |
|
Niko Matsakis
|
88bcd4457b
|
trailing whitespace
|
2021-08-25 12:09:48 -04:00 |
|
Niko Matsakis
|
d7d122faec
|
update docs for type_implements_trait
|
2021-08-25 11:39:35 -04:00 |
|
Aman Arora
|
a216d666ca
|
type_implements_trait consider obligation failure on overflow
|
2021-08-25 03:52:24 -04:00 |
|
jackh726
|
af14db14f4
|
Review comments
|
2021-08-24 22:29:41 -04:00 |
|