mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 09:53:04 +03:00
Add regression tests for suspicious_doc_comments (#14268)
Related to #14265 which was fixed automatically by the latest rustup. changelog: none *Edit: description, changelog, keep only tests*
This commit is contained in:
@@ -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() {}
|
||||
|
||||
Reference in New Issue
Block a user