-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
-Ztrait-solver=next
to -Znext-solver
#118937
Conversation
/// Whether the new trait solver should be enabled in coherence. | ||
pub coherence: bool, | ||
/// Whether the new trait solver should be enabled everywhere. | ||
/// This is only `true` if `coherence` is also enabled. | ||
pub globally: bool, |
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.
This should probably still be flattened to an enum by argparsing
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.
Actually nvm, if we will have multiple bools then it will get unwieldy. Maybe consider a more clear name for the the "rest of the compiler" option? idk
663f55e
to
5dffef2
Compare
-Ztrait-solver=next
to -Znew-solver
-Ztrait-solver=next
to -Znext-solver
Could not assign reviewer from: |
5dffef2
to
aea630b
Compare
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
compiler/rustc_trait_selection/src/traits/error_reporting/type_err_ctxt_ext.rs
Outdated
Show resolved
Hide resolved
9b0bf29
to
6863468
Compare
Some changes occurred to the core trait solver cc @rust-lang/initiative-trait-system-refactor Some changes occurred in compiler/rustc_codegen_cranelift cc @bjorn3 Some changes occurred in engine.rs, potentially modifying the public API of |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
f08b4d1
to
ceb4f6b
Compare
This comment was marked as outdated.
This comment was marked as outdated.
@bors r=compiler-errors rollup=never |
This comment has been minimized.
This comment has been minimized.
CI failure looks unrelated |
ceb4f6b
to
fa03289
Compare
@bors r=compiler-errors rollup=never |
☀️ Test successful - checks-actions |
Finished benchmarking commit (2ecba0f): 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.
CyclesResultsThis 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.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 672.087s -> 673.223s (0.17%) |
renames the feature flag to enable the new trait solver.
still want some feedback before merging: https://rust-lang.zulipchat.com/#narrow/stream/364551-t-types.2Ftrait-system-refactor/topic/renaming.20the.20feature.20flag.20to.20.60-Znew-solver.60.
The idea is to make it easier to add another option, e.g. to enable the solver in wfcheck or to optionally change its behavior to our new coinduction approach.
r? @compiler-errors