]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/doc/unbalanced_ticks.stderr
Auto merge of #91565 - dtolnay:printhelpers, r=jackh726
[rust.git] / src / tools / clippy / tests / ui / doc / unbalanced_ticks.stderr
1 error: backticks are unbalanced
2   --> $DIR/unbalanced_ticks.rs:7:1
3    |
4 LL | / /// This is a doc comment with `unbalanced_tick marks and several words that
5 LL | | /// should be `encompassed_by` tick marks because they `contain_underscores`.
6 LL | | /// Because of the initial `unbalanced_tick` pair, the error message is
7 LL | | /// very `confusing_and_misleading`.
8    | |____________________________________^
9    |
10    = note: `-D clippy::doc-markdown` implied by `-D warnings`
11    = help: a backtick may be missing a pair
12
13 error: backticks are unbalanced
14   --> $DIR/unbalanced_ticks.rs:13:1
15    |
16 LL | /// This paragraph has `unbalanced_tick marks and should stop_linting.
17    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18    |
19    = help: a backtick may be missing a pair
20
21 error: item in documentation is missing backticks
22   --> $DIR/unbalanced_ticks.rs:15:32
23    |
24 LL | /// This paragraph is fine and should_be linted normally.
25    |                                ^^^^^^^^^ help: try: ``should_be``
26
27 error: backticks are unbalanced
28   --> $DIR/unbalanced_ticks.rs:17:1
29    |
30 LL | /// Double unbalanced backtick from ``here to here` should lint.
31    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32    |
33    = help: a backtick may be missing a pair
34
35 error: item in documentation is missing backticks
36   --> $DIR/unbalanced_ticks.rs:30:8
37    |
38 LL | /// ## not_fine
39    |        ^^^^^^^^ help: try: ``not_fine``
40
41 error: backticks are unbalanced
42   --> $DIR/unbalanced_ticks.rs:32:1
43    |
44 LL | /// ### `unbalanced
45    | ^^^^^^^^^^^^^^^^^^^
46    |
47    = help: a backtick may be missing a pair
48
49 error: backticks are unbalanced
50   --> $DIR/unbalanced_ticks.rs:34:1
51    |
52 LL | /// - This `item has unbalanced tick marks
53    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
54    |
55    = help: a backtick may be missing a pair
56
57 error: item in documentation is missing backticks
58   --> $DIR/unbalanced_ticks.rs:35:23
59    |
60 LL | /// - This item needs backticks_here
61    |                       ^^^^^^^^^^^^^^ help: try: ``backticks_here``
62
63 error: aborting due to 8 previous errors
64