File tree Expand file tree Collapse file tree 3 files changed +31
-0
lines changed Expand file tree Collapse file tree 3 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ #![warn(clippy::doc_markdown)]
2+
3+ // Should only warn for the first line!
4+ /// `AviSynth` documentation:
5+ //~^ ERROR: item in documentation is missing backticks
6+ ///
7+ /// > AvisynthPluginInit3 may be called more than once with different IScriptEnvironments.
8+ pub struct Foo;
Original file line number Diff line number Diff line change 1+ #![ warn( clippy:: doc_markdown) ]
2+
3+ // Should only warn for the first line!
4+ /// AviSynth documentation:
5+ //~^ ERROR: item in documentation is missing backticks
6+ ///
7+ /// > AvisynthPluginInit3 may be called more than once with different IScriptEnvironments.
8+ pub struct Foo ;
Original file line number Diff line number Diff line change 1+ error: item in documentation is missing backticks
2+ --> tests/ui/doc/issue_10262.rs:4:5
3+ |
4+ LL | /// AviSynth documentation:
5+ | ^^^^^^^^
6+ |
7+ = note: `-D clippy::doc-markdown` implied by `-D warnings`
8+ = help: to override `-D warnings` add `#[allow(clippy::doc_markdown)]`
9+ help: try
10+ |
11+ LL | /// `AviSynth` documentation:
12+ | ~~~~~~~~~~
13+
14+ error: aborting due to 1 previous error
15+
You can’t perform that action at this time.
0 commit comments