stabilize -Znext-solver=coherence

This commit is contained in:
lcnr 2024-09-21 07:02:51 +00:00
parent 88f311479d
commit 1a9d2d82a5
68 changed files with 347 additions and 329 deletions

View file

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