summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/doc/doc-fixable.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/clippy/tests/ui/doc/doc-fixable.stderr')
-rw-r--r--src/tools/clippy/tests/ui/doc/doc-fixable.stderr24
1 files changed, 23 insertions, 1 deletions
diff --git a/src/tools/clippy/tests/ui/doc/doc-fixable.stderr b/src/tools/clippy/tests/ui/doc/doc-fixable.stderr
index 4c9ff41d9..033604e03 100644
--- a/src/tools/clippy/tests/ui/doc/doc-fixable.stderr
+++ b/src/tools/clippy/tests/ui/doc/doc-fixable.stderr
@@ -319,5 +319,27 @@ help: try
LL | /// Foo \[bar\] \[baz\] \[qux\]. `DocMarkdownLint`
| ~~~~~~~~~~~~~~~~~
-error: aborting due to 29 previous errors
+error: item in documentation is missing backticks
+ --> $DIR/doc-fixable.rs:231:22
+ |
+LL | /// There is no try (do() or do_not()).
+ | ^^^^
+ |
+help: try
+ |
+LL | /// There is no try (`do()` or do_not()).
+ | ~~~~~~
+
+error: item in documentation is missing backticks
+ --> $DIR/doc-fixable.rs:231:30
+ |
+LL | /// There is no try (do() or do_not()).
+ | ^^^^^^^^
+ |
+help: try
+ |
+LL | /// There is no try (do() or `do_not()`).
+ | ~~~~~~~~~~
+
+error: aborting due to 31 previous errors