1
Fork 0

switch to Lrc

This commit is contained in:
Niko Matsakis 2019-06-17 23:56:35 -04:00
parent fb2c997d4e
commit e6b6873525
4 changed files with 11 additions and 11 deletions

View file

@ -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()