fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: backticks are unbalanced 2 --> $DIR/unbalanced_ticks.rs:7:5 3 | 4LL | /// This is a doc comment with `unbalanced_tick marks and several words that 5 | _____^ 6LL | | 7LL | | /// should be `encompassed_by` tick marks because they `contain_underscores`. 8LL | | /// Because of the initial `unbalanced_tick` pair, the error message is 9LL | | /// very `confusing_and_misleading`. 10 | |____________________________________^ 11 | 12 = help: a backtick may be missing a pair 13 = note: `-D clippy::doc-markdown` implied by `-D warnings` 14 = help: to override `-D warnings` add `#[allow(clippy::doc_markdown)]` 15 16error: backticks are unbalanced 17 --> $DIR/unbalanced_ticks.rs:14:5 18 | 19LL | /// This paragraph has `unbalanced_tick marks and should stop_linting. 20 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 21 | 22 = help: a backtick may be missing a pair 23 24error: item in documentation is missing backticks 25 --> $DIR/unbalanced_ticks.rs:17:32 26 | 27LL | /// This paragraph is fine and should_be linted normally. 28 | ^^^^^^^^^ 29 | 30help: try 31 | 32LL | /// This paragraph is fine and `should_be` linted normally. 33 | ~~~~~~~~~~~ 34 35error: backticks are unbalanced 36 --> $DIR/unbalanced_ticks.rs:20:5 37 | 38LL | /// Double unbalanced backtick from ``here to here` should lint. 39 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 40 | 41 = help: a backtick may be missing a pair 42 43error: item in documentation is missing backticks 44 --> $DIR/unbalanced_ticks.rs:34:8 45 | 46LL | /// ## not_fine 47 | ^^^^^^^^ 48 | 49help: try 50 | 51LL | /// ## `not_fine` 52 | ~~~~~~~~~~ 53 54error: backticks are unbalanced 55 --> $DIR/unbalanced_ticks.rs:37:5 56 | 57LL | /// ### `unbalanced 58 | ^^^^^^^^^^^^^^^ 59 | 60 = help: a backtick may be missing a pair 61 62error: backticks are unbalanced 63 --> $DIR/unbalanced_ticks.rs:40:5 64 | 65LL | /// - This `item has unbalanced tick marks 66 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 67 | 68 = help: a backtick may be missing a pair 69 70error: item in documentation is missing backticks 71 --> $DIR/unbalanced_ticks.rs:42:23 72 | 73LL | /// - This item needs backticks_here 74 | ^^^^^^^^^^^^^^ 75 | 76help: try 77 | 78LL | /// - This item needs `backticks_here` 79 | ~~~~~~~~~~~~~~~~ 80 81error: aborting due to 8 previous errors 82