about summary refs log tree commit diff
path: root/clippy_utils/src/source.rs
diff options
context:
space:
mode:
authorCameron Steffen <cam.steffen94@gmail.com>2022-01-11 09:52:23 -0600
committerCameron Steffen <cam.steffen94@gmail.com>2022-01-11 09:52:23 -0600
commit02ec39b2ff69ce3275724e234ebcb72d310766ca (patch)
tree1b8fb16e1a753a510aec5f63ae32fba5bab27342 /clippy_utils/src/source.rs
parentfccf07bae582fe2640971f5cc4cb358d8c7d36aa (diff)
downloadrust-02ec39b2ff69ce3275724e234ebcb72d310766ca.tar.gz
rust-02ec39b2ff69ce3275724e234ebcb72d310766ca.zip
Stop using in_band_lifetimes
Diffstat (limited to 'clippy_utils/src/source.rs')
-rw-r--r--clippy_utils/src/source.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_utils/src/source.rs b/clippy_utils/src/source.rs
index d928317259d..dbad607c58e 100644
--- a/clippy_utils/src/source.rs
+++ b/clippy_utils/src/source.rs
@@ -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,