Function rustc::middle::ty::empty_parameter_environment [−] [src]

pub fn empty_parameter_environment<'a, 'tcx>(cx: &'a ctxt<'tcx>) -> ParameterEnvironment<'a, 'tcx>
Unstable

Construct a parameter environment suitable for static contexts or other contexts where there are no free type/lifetime parameters in scope.