.args
.iter()
.map(|arg| match arg {
- GenericArg::Lifetime(lt) => lt.name.ident().to_string(),
+ GenericArg::Lifetime(lt) => lt.to_string(),
GenericArg::Type(ty) => {
cx.tcx.sess.source_map().span_to_snippet(ty.span).unwrap_or_else(|_| "_".into())
}