]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/collapsible_span_lint_calls.rs
iterate List by value
[rust.git] / tests / ui / collapsible_span_lint_calls.rs
index 69b9525575131baa23a56902b52df568d8727ce0..d5dd3bb562b429d9265f3ba1d5c80a4c977a4dc2 100644 (file)
@@ -38,7 +38,7 @@ fn span_lint_and_note<'a, T: LintContext>(
     lint: &'static Lint,
     span: Span,
     msg: &str,
-    note_span: Span,
+    note_span: Option<Span>,
     note: &str,
 ) {
 }