diff options
| author | Andrew Cann <shum@canndrew.org> | 2016-09-15 01:10:53 +0800 |
|---|---|---|
| committer | Andrew Cann <shum@canndrew.org> | 2016-11-22 13:21:21 +0800 |
| commit | 75140512ebe0138d630e4af52216352300d12d08 (patch) | |
| tree | 5606e82fa5bd440abc00b5c6d90b31f814cf8996 | |
| parent | d6482510f4ac179506370f421b2c3a3802f574f9 (diff) | |
| download | rust-75140512ebe0138d630e4af52216352300d12d08.tar.gz rust-75140512ebe0138d630e4af52216352300d12d08.zip | |
Fix previous commit
| -rw-r--r-- | src/librustc/ty/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/ty/mod.rs b/src/librustc/ty/mod.rs index 5737f776422..68440a2c8d8 100644 --- a/src/librustc/ty/mod.rs +++ b/src/librustc/ty/mod.rs @@ -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)) { |
