about summary refs log tree commit diff
path: root/src/librustc_const_eval
diff options
context:
space:
mode:
authorEduard Burtescu <edy.burt@gmail.com>2016-03-25 05:22:52 +0200
committerEduard Burtescu <edy.burt@gmail.com>2016-05-11 04:14:58 +0300
commit8a704f6dc7f0ed6be1554867c2a95e4e322cc1bc (patch)
treeeb21eda37a9bbad1371ce0c169ccca7f1b730713 /src/librustc_const_eval
parent0053b442f8cd5bf5e310a2664fc3a47a8f33da71 (diff)
downloadrust-8a704f6dc7f0ed6be1554867c2a95e4e322cc1bc.tar.gz
rust-8a704f6dc7f0ed6be1554867c2a95e4e322cc1bc.zip
rustc: Remove the TyCtxt field from ParameterEnvironment.
Diffstat (limited to 'src/librustc_const_eval')
-rw-r--r--src/librustc_const_eval/check_match.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_const_eval/check_match.rs b/src/librustc_const_eval/check_match.rs
index bde9a856cc4..3b44dcde449 100644
--- a/src/librustc_const_eval/check_match.rs
+++ b/src/librustc_const_eval/check_match.rs
@@ -107,7 +107,7 @@ impl<'a> FromIterator<Vec<&'a Pat>> for Matrix<'a> {
 //NOTE: appears to be the only place other then InferCtxt to contain a ParamEnv
 pub struct MatchCheckCtxt<'a, 'tcx: 'a> {
     pub tcx: TyCtxt<'a, 'tcx, 'tcx>,
-    pub param_env: ParameterEnvironment<'a, 'tcx>,
+    pub param_env: ParameterEnvironment<'tcx>,
 }
 
 #[derive(Clone, PartialEq)]