Add regression tests for suspicious_doc_comments
This commit is contained in:
parent
715d3f9224
commit
3caa1f25d8
2 changed files with 8 additions and 0 deletions
|
|
@ -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() {}
|
||||
|
|
|
|||
|
|
@ -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() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue