Add missing_panics_doc lint

This commit is contained in:
Caden Haustein 2020-12-30 16:37:59 -06:00 committed by flip1995
parent f870876d92
commit bde667af7e
No known key found for this signature in database
GPG key ID: 1CA0DF2AF59D68A5
16 changed files with 346 additions and 38 deletions

View file

@ -110,7 +110,7 @@ pub fn span_lint_and_help<'a, T: LintContext>(
pub fn span_lint_and_note<'a, T: LintContext>(
cx: &'a T,
lint: &'static Lint,
span: Span,
span: impl Into<MultiSpan>,
msg: &str,
note_span: Option<Span>,
note: &str,