| error: item in documentation is missing backticks |
| --> tests/ui/doc/doc-fixable.rs:8:9 |
| | |
| LL | /// The foo_bar function does _nothing_. See also foo::bar. (note the dot there) |
| | ^^^^^^^ |
| | |
| = note: `-D clippy::doc-markdown` implied by `-D warnings` |
| = help: to override `-D warnings` add `#[allow(clippy::doc_markdown)]` |
| help: try |
| | |
| LL - /// The foo_bar function does _nothing_. See also foo::bar. (note the dot there) |
| LL + /// The `foo_bar` function does _nothing_. See also foo::bar. (note the dot there) |
| | |
| |
| error: item in documentation is missing backticks |
| --> tests/ui/doc/doc-fixable.rs:8:51 |
| | |
| LL | /// The foo_bar function does _nothing_. See also foo::bar. (note the dot there) |
| | ^^^^^^^^ |
| | |
| help: try |
| | |
| LL - /// The foo_bar function does _nothing_. See also foo::bar. (note the dot there) |
| LL + /// The foo_bar function does _nothing_. See also `foo::bar`. (note the dot there) |
| | |
| |
| error: item in documentation is missing backticks |
| --> tests/ui/doc/doc-fixable.rs:11:83 |
| | |
| LL | /// Markdown is _weird_. I mean _really weird_. This \_ is ok. So is `_`. But not Foo::some_fun |
| | ^^^^^^^^^^^^^ |
| | |
| help: try |
| | |
| LL - /// Markdown is _weird_. I mean _really weird_. This \_ is ok. So is `_`. But not Foo::some_fun |
| LL + /// Markdown is _weird_. I mean _really weird_. This \_ is ok. So is `_`. But not `Foo::some_fun` |
| | |
| |
| error: item in documentation is missing backticks |
| --> tests/ui/doc/doc-fixable.rs:14:13 |
| | |
| LL | /// Here be ::a::global:path, and _::another::global::path_. :: is not a path though. |
| | ^^^^^^^^^^^^^^^^ |
| | |
| help: try |
| | |
| LL - /// Here be ::a::global:path, and _::another::global::path_. :: is not a path though. |
| LL + /// Here be `::a::global:path`, and _::another::global::path_. :: is not a path though. |
| | |
| |
| error: item in documentation is missing backticks |
| --> tests/ui/doc/doc-fixable.rs:14:36 |
| | |
| LL | /// Here be ::a::global:path, and _::another::global::path_. :: is not a path though. |
| | ^^^^^^^^^^^^^^^^^^^^^^^ |
| | |
| help: try |
| | |
| LL - /// Here be ::a::global:path, and _::another::global::path_. :: is not a path though. |
| LL + /// Here be ::a::global:path, and _`::another::global::path`_. :: is not a path though. |
| | |
| |
| error: item in documentation is missing backticks |
| --> tests/ui/doc/doc-fixable.rs:17:25 |
| | |
| LL | /// Import an item from ::awesome::global::blob:: (Intended postfix) |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | |
| help: try |
| | |
| LL - /// Import an item from ::awesome::global::blob:: (Intended postfix) |
| LL + /// Import an item from `::awesome::global::blob::` (Intended postfix) |
| | |
| |
| error: item in documentation is missing backticks |
| --> tests/ui/doc/doc-fixable.rs:19:31 |
| | |
| LL | /// These are the options for ::Cat: (Intended trailing single colon, shouldn't be linted) |
| | ^^^^^ |
| | |
| help: try |
| | |
| LL - /// These are the options for ::Cat: (Intended trailing single colon, shouldn't be linted) |
| LL + /// These are the options for `::Cat`: (Intended trailing single colon, shouldn't be linted) |
| | |
| |
| error: item in documentation is missing backticks |
| --> tests/ui/doc/doc-fixable.rs:21:22 |
| | |
| LL | /// That's not code ~NotInCodeBlock~. |
| | ^^^^^^^^^^^^^^ |
| | |
| help: try |
| | |
| LL - /// That's not code ~NotInCodeBlock~. |
| LL + /// That's not code ~`NotInCodeBlock`~. |
| | |
| |
| error: item in documentation is missing backticks |
| --> tests/ui/doc/doc-fixable.rs:23:5 |
| | |
| LL | /// be_sure_we_got_to_the_end_of_it |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | |
| help: try |
| | |
| LL - /// be_sure_we_got_to_the_end_of_it |
| LL + /// `be_sure_we_got_to_the_end_of_it` |
| | |
| |
| error: item in documentation is missing backticks |
| --> tests/ui/doc/doc-fixable.rs:38:5 |
| | |
| LL | /// be_sure_we_got_to_the_end_of_it |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | |
| help: try |
| | |
| LL - /// be_sure_we_got_to_the_end_of_it |
| LL + /// `be_sure_we_got_to_the_end_of_it` |
| | |
| |
| error: item in documentation is missing backticks |
| --> tests/ui/doc/doc-fixable.rs:46:5 |
| | |
| LL | /// be_sure_we_got_to_the_end_of_it |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | |
| help: try |
| | |
| LL - /// be_sure_we_got_to_the_end_of_it |
| LL + /// `be_sure_we_got_to_the_end_of_it` |
| | |
| |
| error: item in documentation is missing backticks |
| --> tests/ui/doc/doc-fixable.rs:61:5 |
| | |
| LL | /// be_sure_we_got_to_the_end_of_it |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | |
| help: try |
| | |
| LL - /// be_sure_we_got_to_the_end_of_it |
| LL + /// `be_sure_we_got_to_the_end_of_it` |
| | |
| |
| error: item in documentation is missing backticks |
| --> tests/ui/doc/doc-fixable.rs:90:5 |
| | |
| LL | /// be_sure_we_got_to_the_end_of_it |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | |
| help: try |
| | |
| LL - /// be_sure_we_got_to_the_end_of_it |
| LL + /// `be_sure_we_got_to_the_end_of_it` |
| | |
| |
| error: item in documentation is missing backticks |
| --> tests/ui/doc/doc-fixable.rs:108:5 |
| | |
| LL | /// be_sure_we_got_to_the_end_of_it |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | |
| help: try |
| | |
| LL - /// be_sure_we_got_to_the_end_of_it |
| LL + /// `be_sure_we_got_to_the_end_of_it` |
| | |
| |
| error: item in documentation is missing backticks |
| --> tests/ui/doc/doc-fixable.rs:117:8 |
| | |
| LL | /// ## CamelCaseThing |
| | ^^^^^^^^^^^^^^ |
| | |
| help: try |
| | |
| LL - /// ## CamelCaseThing |
| LL + /// ## `CamelCaseThing` |
| | |
| |
| error: item in documentation is missing backticks |
| --> tests/ui/doc/doc-fixable.rs:121:7 |
| | |
| LL | /// # CamelCaseThing |
| | ^^^^^^^^^^^^^^ |
| | |
| help: try |
| | |
| LL - /// # CamelCaseThing |
| LL + /// # `CamelCaseThing` |
| | |
| |
| error: item in documentation is missing backticks |
| --> tests/ui/doc/doc-fixable.rs:124:22 |
| | |
| LL | /// Not a title #897 CamelCaseThing |
| | ^^^^^^^^^^^^^^ |
| | |
| help: try |
| | |
| LL - /// Not a title #897 CamelCaseThing |
| LL + /// Not a title #897 `CamelCaseThing` |
| | |
| |
| error: item in documentation is missing backticks |
| --> tests/ui/doc/doc-fixable.rs:126:5 |
| | |
| LL | /// be_sure_we_got_to_the_end_of_it |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | |
| help: try |
| | |
| LL - /// be_sure_we_got_to_the_end_of_it |
| LL + /// `be_sure_we_got_to_the_end_of_it` |
| | |
| |
| error: item in documentation is missing backticks |
| --> tests/ui/doc/doc-fixable.rs:134:5 |
| | |
| LL | /// be_sure_we_got_to_the_end_of_it |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | |
| help: try |
| | |
| LL - /// be_sure_we_got_to_the_end_of_it |
| LL + /// `be_sure_we_got_to_the_end_of_it` |
| | |
| |
| error: item in documentation is missing backticks |
| --> tests/ui/doc/doc-fixable.rs:148:5 |
| | |
| LL | /// be_sure_we_got_to_the_end_of_it |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | |
| help: try |
| | |
| LL - /// be_sure_we_got_to_the_end_of_it |
| LL + /// `be_sure_we_got_to_the_end_of_it` |
| | |
| |
| error: item in documentation is missing backticks |
| --> tests/ui/doc/doc-fixable.rs:160:43 |
| | |
| LL | /** E.g., serialization of an empty list: FooBar |
| | ^^^^^^ |
| | |
| help: try |
| | |
| LL - /** E.g., serialization of an empty list: FooBar |
| LL + /** E.g., serialization of an empty list: `FooBar` |
| | |
| |
| error: item in documentation is missing backticks |
| --> tests/ui/doc/doc-fixable.rs:165:5 |
| | |
| LL | And BarQuz too. |
| | ^^^^^^ |
| | |
| help: try |
| | |
| LL - And BarQuz too. |
| LL + And `BarQuz` too. |
| | |
| |
| error: item in documentation is missing backticks |
| --> tests/ui/doc/doc-fixable.rs:166:1 |
| | |
| LL | be_sure_we_got_to_the_end_of_it |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | |
| help: try |
| | |
| LL - be_sure_we_got_to_the_end_of_it |
| LL + `be_sure_we_got_to_the_end_of_it` |
| | |
| |
| error: item in documentation is missing backticks |
| --> tests/ui/doc/doc-fixable.rs:174:43 |
| | |
| LL | /** E.g., serialization of an empty list: FooBar |
| | ^^^^^^ |
| | |
| help: try |
| | |
| LL - /** E.g., serialization of an empty list: FooBar |
| LL + /** E.g., serialization of an empty list: `FooBar` |
| | |
| |
| error: item in documentation is missing backticks |
| --> tests/ui/doc/doc-fixable.rs:179:5 |
| | |
| LL | And BarQuz too. |
| | ^^^^^^ |
| | |
| help: try |
| | |
| LL - And BarQuz too. |
| LL + And `BarQuz` too. |
| | |
| |
| error: item in documentation is missing backticks |
| --> tests/ui/doc/doc-fixable.rs:180:1 |
| | |
| LL | be_sure_we_got_to_the_end_of_it |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | |
| help: try |
| | |
| LL - be_sure_we_got_to_the_end_of_it |
| LL + `be_sure_we_got_to_the_end_of_it` |
| | |
| |
| error: item in documentation is missing backticks |
| --> tests/ui/doc/doc-fixable.rs:194:5 |
| | |
| LL | /// be_sure_we_got_to_the_end_of_it |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | |
| help: try |
| | |
| LL - /// be_sure_we_got_to_the_end_of_it |
| LL + /// `be_sure_we_got_to_the_end_of_it` |
| | |
| |
| error: item in documentation is missing backticks |
| --> tests/ui/doc/doc-fixable.rs:214:22 |
| | |
| LL | /// An iterator over mycrate::Collection's values. |
| | ^^^^^^^^^^^^^^^^^^^ |
| | |
| help: try |
| | |
| LL - /// An iterator over mycrate::Collection's values. |
| LL + /// An iterator over `mycrate::Collection`'s values. |
| | |
| |
| error: item in documentation is missing backticks |
| --> tests/ui/doc/doc-fixable.rs:239:34 |
| | |
| LL | /// Foo \[bar\] \[baz\] \[qux\]. DocMarkdownLint |
| | ^^^^^^^^^^^^^^^ |
| | |
| help: try |
| | |
| LL - /// Foo \[bar\] \[baz\] \[qux\]. DocMarkdownLint |
| LL + /// Foo \[bar\] \[baz\] \[qux\]. `DocMarkdownLint` |
| | |
| |
| error: item in documentation is missing backticks |
| --> tests/ui/doc/doc-fixable.rs:263:22 |
| | |
| LL | /// There is no try (do() or do_not()). |
| | ^^^^ |
| | |
| help: try |
| | |
| LL - /// There is no try (do() or do_not()). |
| LL + /// There is no try (`do()` or do_not()). |
| | |
| |
| error: item in documentation is missing backticks |
| --> tests/ui/doc/doc-fixable.rs:263:30 |
| | |
| LL | /// There is no try (do() or do_not()). |
| | ^^^^^^^^ |
| | |
| help: try |
| | |
| LL - /// There is no try (do() or do_not()). |
| LL + /// There is no try (do() or `do_not()`). |
| | |
| |
| error: item in documentation is missing backticks |
| --> tests/ui/doc/doc-fixable.rs:268:5 |
| | |
| LL | /// ABes |
| | ^^^^ |
| | |
| help: try |
| | |
| LL - /// ABes |
| LL + /// `ABes` |
| | |
| |
| error: item in documentation is missing backticks |
| --> tests/ui/doc/doc-fixable.rs:275:9 |
| | |
| LL | /// foo() |
| | ^^^^^ |
| | |
| help: try |
| | |
| LL - /// foo() |
| LL + /// `foo()` |
| | |
| |
| error: you should put bare URLs between `<`/`>` or make a proper Markdown link |
| --> tests/ui/doc/doc-fixable.rs:280:5 |
| | |
| LL | /// https://github.com/rust-lang/rust-clippy/pull/12836 |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `<https://github.com/rust-lang/rust-clippy/pull/12836>` |
| |
| error: aborting due to 34 previous errors |
| |