Stop using in_band_lifetimes

This commit is contained in:
Cameron Steffen 2022-01-11 09:52:23 -06:00
parent fccf07bae5
commit 02ec39b2ff
77 changed files with 216 additions and 189 deletions

View file

@ -281,7 +281,7 @@ pub fn snippet_block_with_applicability<'a, T: LintContext>(
/// correctly get a snippet of `vec![]`.
///
/// This will also return whether or not the snippet is a macro call.
pub fn snippet_with_context(
pub fn snippet_with_context<'a>(
cx: &LateContext<'_>,
span: Span,
outer: SyntaxContext,