Add regression tests for suspicious_doc_comments

This commit is contained in:
Samuel Tardieu 2025-02-21 08:29:10 +01:00
parent 715d3f9224
commit 3caa1f25d8
2 changed files with 8 additions and 0 deletions

View file

@ -87,4 +87,8 @@ pub mod useless_outer_doc {
use std::mem;
}
// Do not lint, this is not a `///!`
#[doc = "! here's some docs !"]
fn issue14265() {}
fn main() {}

View file

@ -87,4 +87,8 @@ pub mod useless_outer_doc {
use std::mem;
}
// Do not lint, this is not a `///!`
#[doc = "! here's some docs !"]
fn issue14265() {}
fn main() {}