1 error: backticks are unbalanced
2 --> $DIR/unbalanced_ticks.rs:7:1
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 | |____________________________________^
10 = note: `-D clippy::doc-markdown` implied by `-D warnings`
11 = help: a backtick may be missing a pair
13 error: backticks are unbalanced
14 --> $DIR/unbalanced_ticks.rs:13:1
16 LL | /// This paragraph has `unbalanced_tick marks and should stop_linting.
17 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19 = help: a backtick may be missing a pair
21 error: item in documentation is missing backticks
22 --> $DIR/unbalanced_ticks.rs:15:32
24 LL | /// This paragraph is fine and should_be linted normally.
25 | ^^^^^^^^^ help: try: ``should_be``
27 error: backticks are unbalanced
28 --> $DIR/unbalanced_ticks.rs:17:1
30 LL | /// Double unbalanced backtick from ``here to here` should lint.
31 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
33 = help: a backtick may be missing a pair
35 error: item in documentation is missing backticks
36 --> $DIR/unbalanced_ticks.rs:30:8
39 | ^^^^^^^^ help: try: ``not_fine``
41 error: backticks are unbalanced
42 --> $DIR/unbalanced_ticks.rs:32:1
44 LL | /// ### `unbalanced
47 = help: a backtick may be missing a pair
49 error: backticks are unbalanced
50 --> $DIR/unbalanced_ticks.rs:34:1
52 LL | /// - This `item has unbalanced tick marks
53 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
55 = help: a backtick may be missing a pair
57 error: item in documentation is missing backticks
58 --> $DIR/unbalanced_ticks.rs:35:23
60 LL | /// - This item needs backticks_here
61 | ^^^^^^^^^^^^^^ help: try: ``backticks_here``
63 error: aborting due to 8 previous errors