diff options
| author | bors <bors@rust-lang.org> | 2023-12-14 15:29:38 +0000 | 
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-12-14 15:29:38 +0000 | 
| commit | 2ecba0fa00b75e7291978c50bece407f17296f45 (patch) | |
| tree | 4e9bb894e29d88bdbab3ae09a717869ae5f1c17f /compiler/rustc_trait_selection/src/solve/trait_goals.rs | |
| parent | 529047cfc3f4f7b3ea5aaac054408f368d153727 (diff) | |
| parent | fa03289ddfc15d4582a866e66c9003fc6fc11a9f (diff) | |
| download | rust-2ecba0fa00b75e7291978c50bece407f17296f45.tar.gz rust-2ecba0fa00b75e7291978c50bece407f17296f45.zip | |
Auto merge of #118937 - lcnr:rename-solver-flag, r=compiler-errors
`-Ztrait-solver=next` to `-Znext-solver` 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`
Diffstat (limited to 'compiler/rustc_trait_selection/src/solve/trait_goals.rs')
| -rw-r--r-- | compiler/rustc_trait_selection/src/solve/trait_goals.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/compiler/rustc_trait_selection/src/solve/trait_goals.rs b/compiler/rustc_trait_selection/src/solve/trait_goals.rs index 5807f7c6153..9536fde7c93 100644 --- a/compiler/rustc_trait_selection/src/solve/trait_goals.rs +++ b/compiler/rustc_trait_selection/src/solve/trait_goals.rs @@ -445,7 +445,7 @@ impl<'tcx> assembly::GoalKind<'tcx> for TraitPredicate<'tcx> { return Err(NoSolution); } - // FIXME(-Ztrait-solver=next): Implement this when we get const working in the new solver + // FIXME(-Znext-solver): Implement this when we get const working in the new solver // `Destruct` is automatically implemented for every type in // non-const environments. | 
