fn check_static_lifetimes<'tcx>(
tcx: TyCtxt<'tcx>,
parent_substs: &Vec<GenericArg<'tcx>>,
span: Span
)Expand description
Check that 'static lifetimes are not introduced by the specializing impl.
For example forbid the following:
fn check_static_lifetimes<'tcx>(
tcx: TyCtxt<'tcx>,
parent_substs: &Vec<GenericArg<'tcx>>,
span: Span
)Check that 'static lifetimes are not introduced by the specializing impl.
For example forbid the following: