Function rustc_typeck::middle::ty::empty_parameter_environmentExperimental [-]  [+] [src]

pub fn empty_parameter_environment() -> ParameterEnvironment<'tcx>

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