rustc: Remove the TyCtxt field from ParameterEnvironment.

This commit is contained in:
Eduard Burtescu 2016-03-25 05:22:52 +02:00
parent 0053b442f8
commit 8a704f6dc7
20 changed files with 82 additions and 84 deletions

View file

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