diff options
| author | varkor <github@varkor.com> | 2019-04-17 19:18:12 +0100 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2019-05-01 23:11:19 +0100 |
| commit | 5cf45bc27abd8169ea0fd3629000028c10a7aa1a (patch) | |
| tree | 39e3c8ce68339e0c4489d90f1b04562f454d9374 | |
| parent | 972e25410651e31a9458a4a47cc739ecd446f35a (diff) | |
| download | rust-5cf45bc27abd8169ea0fd3629000028c10a7aa1a.tar.gz rust-5cf45bc27abd8169ea0fd3629000028c10a7aa1a.zip | |
Fix rebase issue
| -rw-r--r-- | src/librustc/infer/mod.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/librustc/infer/mod.rs b/src/librustc/infer/mod.rs index 0f603a6c777..0d09644a310 100644 --- a/src/librustc/infer/mod.rs +++ b/src/librustc/infer/mod.rs @@ -1368,8 +1368,6 @@ impl<'a, 'gcx, 'tcx> InferCtxt<'a, 'gcx, 'tcx> { &self, vid: ty::ConstVid<'tcx> ) -> Result<&'tcx ty::Const<'tcx>, ty::UniverseIndex> { - use self::unify_key::ConstVariableValue; - match self.const_unification_table.borrow_mut().probe_value(vid).val { ConstVariableValue::Known { value } => Ok(value), ConstVariableValue::Unknown { universe } => Err(universe), |
