Revert 'Stabilize -Znext-solver=coherence'
This commit is contained in:
parent
5bce6d48ff
commit
e866f8a97d
104 changed files with 578 additions and 392 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue