switch to Lrc
This commit is contained in:
parent
fb2c997d4e
commit
e6b6873525
4 changed files with 11 additions and 11 deletions
|
@ -26,11 +26,11 @@ use crate::ty::{FloatVid, IntVid, TyVid, ConstVid};
|
|||
use crate::util::nodemap::FxHashMap;
|
||||
|
||||
use errors::DiagnosticBuilder;
|
||||
use rustc_data_structures::sync::Lrc;
|
||||
use rustc_data_structures::unify as ut;
|
||||
use std::cell::{Cell, Ref, RefCell, RefMut};
|
||||
use std::collections::BTreeMap;
|
||||
use std::fmt;
|
||||
use std::rc::Rc;
|
||||
use syntax::ast;
|
||||
use syntax_pos::symbol::InternedString;
|
||||
use syntax_pos::Span;
|
||||
|
@ -913,7 +913,7 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> {
|
|||
definition_span: Span,
|
||||
hidden_ty: Ty<'tcx>,
|
||||
region: ty::Region<'tcx>,
|
||||
in_regions: &Rc<Vec<ty::Region<'tcx>>>,
|
||||
in_regions: &Lrc<Vec<ty::Region<'tcx>>>,
|
||||
) {
|
||||
debug!("pick_constraint({:?} <: {:?})", region, in_regions);
|
||||
self.borrow_region_constraints()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue