Fix previous commit
This commit is contained in:
parent
d6482510f4
commit
75140512eb
@ -1393,7 +1393,7 @@ impl<'tcx> serialize::UseSpecializedDecodable for AdtDef<'tcx> {}
|
||||
impl<'a, 'gcx, 'tcx> AdtDefData<'tcx, 'static> {
|
||||
#[inline]
|
||||
pub fn is_uninhabited_recurse(&'tcx self,
|
||||
visited: &mut HashMap<(DefId, &'tcx Substs<'tcx>), ()>,
|
||||
visited: &mut HashMap<(DefId, &'tcx Substs<'tcx>), ()>,
|
||||
cx: TyCtxt<'a, 'gcx, 'tcx>,
|
||||
substs: &'tcx Substs<'tcx>) -> bool {
|
||||
match visited.entry((self.did, substs)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user