summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui-toml/doc_valid_idents_replace/doc_markdown.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/tools/clippy/tests/ui-toml/doc_valid_idents_replace/doc_markdown.stderr36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/tools/clippy/tests/ui-toml/doc_valid_idents_replace/doc_markdown.stderr b/src/tools/clippy/tests/ui-toml/doc_valid_idents_replace/doc_markdown.stderr
new file mode 100644
index 000000000..e0613eb86
--- /dev/null
+++ b/src/tools/clippy/tests/ui-toml/doc_valid_idents_replace/doc_markdown.stderr
@@ -0,0 +1,36 @@
+error: item in documentation is missing backticks
+ --> $DIR/doc_markdown.rs:6:5
+ |
+LL | /// OAuth and LaTeX are inside Clippy's default list.
+ | ^^^^^
+ |
+ = note: `-D clippy::doc-markdown` implied by `-D warnings`
+help: try
+ |
+LL | /// `OAuth` and LaTeX are inside Clippy's default list.
+ | ~~~~~~~
+
+error: item in documentation is missing backticks
+ --> $DIR/doc_markdown.rs:6:15
+ |
+LL | /// OAuth and LaTeX are inside Clippy's default list.
+ | ^^^^^
+ |
+help: try
+ |
+LL | /// OAuth and `LaTeX` are inside Clippy's default list.
+ | ~~~~~~~
+
+error: item in documentation is missing backticks
+ --> $DIR/doc_markdown.rs:9:5
+ |
+LL | /// TestItemThingyOfCoolness might sound cool but is not on the list and should be linted.
+ | ^^^^^^^^^^^^^^^^^^^^^^^^
+ |
+help: try
+ |
+LL | /// `TestItemThingyOfCoolness` might sound cool but is not on the list and should be linted.
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+error: aborting due to 3 previous errors
+