Function rustc_lint::middle::ty::empty_parameter_environmentUnstable [-] [+] [src]

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

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