Michael Goulet
d4ee408afc
Check allow instantiating object trait binder when upcasting and in new solver
2024-09-26 22:26:29 -04:00
Michael Goulet
c682aa162b
Reformat using the new identifier sorting from rustfmt
2024-09-22 19:11:29 -04:00
Michael Goulet
6d064295c8
clippy::useless_conversion
2024-09-11 17:52:53 -04:00
bors
26b5599e4d
Auto merge of #128776 - Bryanskiy:deep-reject-ctxt, r=lcnr
...
Use `DeepRejectCtxt` to quickly reject `ParamEnv` candidates
The description is on the [zulip thread](https://rust-lang.zulipchat.com/#narrow/stream/144729-t-types/topic/.5Basking.20for.20help.5D.20.60DeepRejectCtxt.60.20for.20param.20env.20candidates )
r? `@lcnr`
2024-09-06 19:50:48 +00:00
Bryanskiy
c51953f4d8
Use DeepRejectCtxt
to quickly reject ParamEnv
candidates
2024-09-02 19:59:18 +03:00
Alexander Cyon
00de006f22
chore: Fix typos in 'compiler' (batch 2)
2024-09-02 07:50:22 +02:00
Nicholas Nethercote
c4717cc9d1
Shrink TyKind::FnPtr
.
...
By splitting the `FnSig` within `TyKind::FnPtr` into `FnSigTys` and
`FnHeader`, which can be packed more efficiently. This reduces the size
of the hot `TyKind` type from 32 bytes to 24 bytes on 64-bit platforms.
This reduces peak memory usage by a few percent on some benchmarks. It
also reduces cache misses and page faults similarly, though this doesn't
translate to clear cycles or wall-time improvements on CI.
2024-08-09 14:33:25 +10:00
Michael Goulet
fa9ae7b9d3
Elaborate supertraits in dyn candidates
2024-08-05 10:03:17 -04:00
Michael Goulet
6a891ec4fe
Enforce supertrait outlives obligations hold when confirming impl
2024-08-05 09:55:14 -04:00
Michael Goulet
15d16f1cd6
Finish uplifting supertraits
2024-07-07 11:28:01 -04:00
Michael Goulet
66eb346770
Get rid of the redundant elaboration in middle
2024-07-07 11:28:01 -04:00
Matthias Krüger
36da46ab98
Rollup merge of #127146 - compiler-errors:fast-reject, r=lcnr
...
Uplift fast rejection to new solver
Self explanatory.
r? lcnr
2024-07-02 17:47:47 +02:00
Michael Goulet
53db64168f
Uplift fast rejection to new solver
2024-06-30 00:27:35 -04:00
Deadbeef
65a0bee0b7
address review comments
2024-06-28 15:44:20 +00:00
Deadbeef
8b2fac9612
finishing touches, move fixed ICEs to ui tests
2024-06-28 10:57:35 +00:00
Deadbeef
0a2330630d
general fixups and turn TODO
s into FIXME
s
2024-06-28 10:57:35 +00:00
Deadbeef
c7d27a15d0
Implement Min
trait in new solver
2024-06-28 10:57:35 +00:00
Michael Goulet
275d922dab
Rename tcx to cx
2024-06-25 17:36:52 -04:00
Michael Goulet
24e41f1d13
Replace Deref bounds on Interner in favor of a SliceLike trait
2024-06-24 11:53:34 -04:00
Michael Goulet
db638ab968
Rename a bunch of things
2024-06-21 12:32:05 -04:00
Michael Goulet
9b0f9ef42e
Make rustc_next_trait_solver nightly again
2024-06-18 18:52:48 -04:00
Michael Goulet
6609501ca7
Fix transmute goal
2024-06-18 11:04:01 -04:00
Michael Goulet
fb6f4b4a6e
Explicitly import tracing macros
2024-06-18 11:04:01 -04:00
Michael Goulet
532149eb88
Uplift the new trait solver
2024-06-18 10:55:34 -04:00