Skip to content

Commit 8c41f3f

Browse files
committed
enable -Znext-solver=coherence
1 parent 569d014 commit 8c41f3f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

compiler/rustc_session/src/options.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1842,7 +1842,10 @@ options! {
18421842
"the size at which the `large_assignments` lint starts to be emitted"),
18431843
mutable_noalias: bool = (true, parse_bool, [TRACKED],
18441844
"emit noalias metadata for mutable references (default: yes)"),
1845-
next_solver: Option<NextSolverConfig> = (None, parse_next_solver_config, [TRACKED],
1845+
next_solver: Option<NextSolverConfig> = (Some( NextSolverConfig {
1846+
coherence: true,
1847+
globally: false,
1848+
}), parse_next_solver_config, [TRACKED],
18461849
"enable and configure the next generation trait solver used by rustc"),
18471850
nll_facts: bool = (false, parse_bool, [UNTRACKED],
18481851
"dump facts from NLL analysis into side files (default: no)"),

0 commit comments

Comments
 (0)