-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace mk_const
with Const::new_x
methods
#113325
Conversation
Failed to set assignee to
|
Some changes occurred to the core trait solver cc @rust-lang/initiative-trait-system-refactor Some changes might have occurred in exhaustiveness checking cc @Nadrieril |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me after nit
@bors r=lcnr |
@bors p=10 (this will merge conflict with any PR that constructs new |
⌛ Testing commit d3cd406 with merge 7cec65b61e5a0999aed541907411a4d2bda6ee9a... |
The job Click to see the possible cause of the failure (guessed by this bot)
|
💔 Test failed - checks-actions |
@bors retry |
⌛ Testing commit d3cd406 with merge 8941f4b329aa93e0464fdd087c0edd2d83364272... |
💔 Test failed - checks-actions |
The job Click to see the possible cause of the failure (guessed by this bot)
|
@bors retry |
⌛ Testing commit d3cd406 with merge f8e2c12b9857d6c0d18f415ad5ca86a891784184... |
@bors retry yield to #113274 (comment) - this takes about 2 hours to run so we're less than a quarter through, MIPS segfaults about half the time so expected value is to merge it first |
lol i think bors didn't like that my comment was so long @bors retry |
@bors retry |
☀️ Test successful - checks-actions |
Finished benchmarking commit (f20afcc): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 653.846s -> 653.078s (-0.12%) |
…r=oli-obk Move `ty::ConstKind` to `rustc_type_ir` Needed this in another PR for custom debug impls, and this will also be required to move the new solver into a separate crate that does not use `TyCtxt` so that r-a and friends can depend on the trait solver. Rebased on top of rust-lang#113325, only the second and third commits needs reviewing
…r=oli-obk Move `ty::ConstKind` to `rustc_type_ir` Needed this in another PR for custom debug impls, and this will also be required to move the new solver into a separate crate that does not use `TyCtxt` so that r-a and friends can depend on the trait solver. Rebased on top of rust-lang#113325, only the second and third commits needs reviewing
Part of rust-lang/compiler-team#616. Instead of just havign
Const::new(
and nothing else I did it like this since this is more like how themk_x
works forTy
, and also another PR of mine will require changing fromConst::new(
toConst::new_x(
anyway.r? @oli-bok