2021-07-01 16:17:38 +00:00
|
|
|
error: backticks are unbalanced
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui/doc/unbalanced_ticks.rs:7:5
|
2021-07-01 16:17:38 +00:00
|
|
|
|
|
2023-09-08 22:39:20 +00:00
|
|
|
LL | /// This is a doc comment with `unbalanced_tick marks and several words that
|
|
|
|
| _____^
|
2023-08-24 19:32:12 +00:00
|
|
|
LL | |
|
2021-07-01 16:17:38 +00:00
|
|
|
LL | | /// should be `encompassed_by` tick marks because they `contain_underscores`.
|
|
|
|
LL | | /// Because of the initial `unbalanced_tick` pair, the error message is
|
|
|
|
LL | | /// very `confusing_and_misleading`.
|
|
|
|
| |____________________________________^
|
|
|
|
|
|
|
|
|
= help: a backtick may be missing a pair
|
2022-09-22 16:04:22 +00:00
|
|
|
= note: `-D clippy::doc-markdown` implied by `-D warnings`
|
2023-08-01 12:02:21 +00:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::doc_markdown)]`
|
2021-07-01 16:17:38 +00:00
|
|
|
|
|
|
|
error: backticks are unbalanced
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui/doc/unbalanced_ticks.rs:14:5
|
2021-07-01 16:17:38 +00:00
|
|
|
|
|
|
|
|
LL | /// This paragraph has `unbalanced_tick marks and should stop_linting.
|
2023-09-08 22:39:20 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2021-07-01 16:17:38 +00:00
|
|
|
|
|
|
|
|
= help: a backtick may be missing a pair
|
|
|
|
|
2021-11-04 12:52:36 +00:00
|
|
|
error: item in documentation is missing backticks
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui/doc/unbalanced_ticks.rs:17:32
|
2021-07-01 16:17:38 +00:00
|
|
|
|
|
|
|
|
LL | /// This paragraph is fine and should_be linted normally.
|
2021-12-06 11:33:31 +00:00
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: try
|
|
|
|
|
|
|
|
|
LL | /// This paragraph is fine and `should_be` linted normally.
|
|
|
|
| ~~~~~~~~~~~
|
2021-07-01 16:17:38 +00:00
|
|
|
|
|
|
|
error: backticks are unbalanced
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui/doc/unbalanced_ticks.rs:20:5
|
2021-07-01 16:17:38 +00:00
|
|
|
|
|
|
|
|
LL | /// Double unbalanced backtick from ``here to here` should lint.
|
2023-09-08 22:39:20 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2021-07-01 16:17:38 +00:00
|
|
|
|
|
|
|
|
= help: a backtick may be missing a pair
|
|
|
|
|
2021-11-04 12:52:36 +00:00
|
|
|
error: item in documentation is missing backticks
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui/doc/unbalanced_ticks.rs:34:8
|
2021-07-01 16:17:38 +00:00
|
|
|
|
|
|
|
|
LL | /// ## not_fine
|
2021-12-06 11:33:31 +00:00
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
|
help: try
|
|
|
|
|
|
|
|
|
LL | /// ## `not_fine`
|
|
|
|
| ~~~~~~~~~~
|
2021-07-01 16:17:38 +00:00
|
|
|
|
|
|
|
error: backticks are unbalanced
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui/doc/unbalanced_ticks.rs:37:5
|
2021-07-01 16:17:38 +00:00
|
|
|
|
|
|
|
|
LL | /// ### `unbalanced
|
2023-09-08 22:39:20 +00:00
|
|
|
| ^^^^^^^^^^^^^^^
|
2021-07-01 16:17:38 +00:00
|
|
|
|
|
|
|
|
= help: a backtick may be missing a pair
|
|
|
|
|
|
|
|
error: backticks are unbalanced
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui/doc/unbalanced_ticks.rs:40:5
|
2021-07-01 16:17:38 +00:00
|
|
|
|
|
|
|
|
LL | /// - This `item has unbalanced tick marks
|
2023-09-08 22:39:20 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2021-07-01 16:17:38 +00:00
|
|
|
|
|
|
|
|
= help: a backtick may be missing a pair
|
|
|
|
|
2021-11-04 12:52:36 +00:00
|
|
|
error: item in documentation is missing backticks
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui/doc/unbalanced_ticks.rs:42:23
|
2021-07-01 16:17:38 +00:00
|
|
|
|
|
|
|
|
LL | /// - This item needs backticks_here
|
2021-12-06 11:33:31 +00:00
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: try
|
|
|
|
|
|
|
|
|
LL | /// - This item needs `backticks_here`
|
|
|
|
| ~~~~~~~~~~~~~~~~
|
2021-07-01 16:17:38 +00:00
|
|
|
|
2024-07-11 13:44:03 +00:00
|
|
|
error: backticks are unbalanced
|
|
|
|
--> tests/ui/doc/unbalanced_ticks.rs:53:5
|
|
|
|
|
|
|
|
|
LL | /// `
|
|
|
|
| ^
|
|
|
|
|
|
|
|
|
= help: a backtick may be missing a pair
|
|
|
|
|
|
|
|
error: backticks are unbalanced
|
|
|
|
--> tests/ui/doc/unbalanced_ticks.rs:63:5
|
|
|
|
|
|
|
|
|
LL | /// Escaped \` ` backticks don't count, but unescaped backticks do.
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: a backtick may be missing a pair
|
|
|
|
|
|
|
|
error: aborting due to 10 previous errors
|
2021-07-01 16:17:38 +00:00
|
|
|
|