1
Fork 0

Revert 'Stabilize -Znext-solver=coherence'

This commit is contained in:
Michael Goulet 2024-09-11 17:57:04 -04:00
parent 5bce6d48ff
commit e866f8a97d
104 changed files with 578 additions and 392 deletions

View file

@ -3132,11 +3132,11 @@ impl<'tcx> TyCtxt<'tcx> {
}
pub fn next_trait_solver_globally(self) -> bool {
self.sess.opts.unstable_opts.next_solver.globally
self.sess.opts.unstable_opts.next_solver.map_or(false, |c| c.globally)
}
pub fn next_trait_solver_in_coherence(self) -> bool {
self.sess.opts.unstable_opts.next_solver.coherence
self.sess.opts.unstable_opts.next_solver.map_or(false, |c| c.coherence)
}
pub fn is_impl_trait_in_trait(self, def_id: DefId) -> bool {