185 lines
6.0 KiB
Plaintext
185 lines
6.0 KiB
Plaintext
error: you should put `DOC_MARKDOWN` between ticks in the documentation
|
|
--> $DIR/doc.rs:3:29
|
|
|
|
|
3 | //! This file tests for the DOC_MARKDOWN lint
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
= note: `-D clippy::doc-markdown` implied by `-D warnings`
|
|
|
|
error: you should put `foo_bar` between ticks in the documentation
|
|
--> $DIR/doc.rs:10:9
|
|
|
|
|
10 | /// The foo_bar function does _nothing_. See also foo::bar. (note the dot there)
|
|
| ^^^^^^^
|
|
|
|
error: you should put `foo::bar` between ticks in the documentation
|
|
--> $DIR/doc.rs:10:51
|
|
|
|
|
10 | /// The foo_bar function does _nothing_. See also foo::bar. (note the dot there)
|
|
| ^^^^^^^^
|
|
|
|
error: you should put `Foo::some_fun` between ticks in the documentation
|
|
--> $DIR/doc.rs:11:84
|
|
|
|
|
11 | /// Markdown is _weird_. I mean _really weird_. This /_ is ok. So is `_`. But not Foo::some_fun
|
|
| ^^^^^^^^^^^^^
|
|
|
|
error: you should put `a::global:path` between ticks in the documentation
|
|
--> $DIR/doc.rs:13:15
|
|
|
|
|
13 | /// Here be ::a::global:path.
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
error: you should put `NotInCodeBlock` between ticks in the documentation
|
|
--> $DIR/doc.rs:14:22
|
|
|
|
|
14 | /// That's not code ~NotInCodeBlock~.
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
|
|
--> $DIR/doc.rs:15:5
|
|
|
|
|
15 | /// be_sure_we_got_to_the_end_of_it
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
|
|
--> $DIR/doc.rs:29:5
|
|
|
|
|
29 | /// be_sure_we_got_to_the_end_of_it
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
|
|
--> $DIR/doc.rs:36:5
|
|
|
|
|
36 | /// be_sure_we_got_to_the_end_of_it
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
|
|
--> $DIR/doc.rs:50:5
|
|
|
|
|
50 | /// be_sure_we_got_to_the_end_of_it
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: you should put `link_with_underscores` between ticks in the documentation
|
|
--> $DIR/doc.rs:54:22
|
|
|
|
|
54 | /// This test has [a link_with_underscores][chunked-example] inside it. See #823.
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: you should put `inline_link2` between ticks in the documentation
|
|
--> $DIR/doc.rs:57:21
|
|
|
|
|
57 | /// It can also be [inline_link2].
|
|
| ^^^^^^^^^^^^
|
|
|
|
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
|
|
--> $DIR/doc.rs:67:5
|
|
|
|
|
67 | /// be_sure_we_got_to_the_end_of_it
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: you should put `CamelCaseThing` between ticks in the documentation
|
|
--> $DIR/doc.rs:75:8
|
|
|
|
|
75 | /// ## CamelCaseThing
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
error: you should put `CamelCaseThing` between ticks in the documentation
|
|
--> $DIR/doc.rs:78:7
|
|
|
|
|
78 | /// # CamelCaseThing
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
error: you should put `CamelCaseThing` between ticks in the documentation
|
|
--> $DIR/doc.rs:80:22
|
|
|
|
|
80 | /// Not a title #897 CamelCaseThing
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
|
|
--> $DIR/doc.rs:81:5
|
|
|
|
|
81 | /// be_sure_we_got_to_the_end_of_it
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
|
|
--> $DIR/doc.rs:88:5
|
|
|
|
|
88 | /// be_sure_we_got_to_the_end_of_it
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
|
|
--> $DIR/doc.rs:101:5
|
|
|
|
|
101 | /// be_sure_we_got_to_the_end_of_it
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: you should put `FooBar` between ticks in the documentation
|
|
--> $DIR/doc.rs:112:42
|
|
|
|
|
112 | /** E.g. serialization of an empty list: FooBar
|
|
| ^^^^^^
|
|
|
|
error: you should put `BarQuz` between ticks in the documentation
|
|
--> $DIR/doc.rs:117:5
|
|
|
|
|
117 | And BarQuz too.
|
|
| ^^^^^^
|
|
|
|
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
|
|
--> $DIR/doc.rs:118:1
|
|
|
|
|
118 | be_sure_we_got_to_the_end_of_it
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: you should put `FooBar` between ticks in the documentation
|
|
--> $DIR/doc.rs:123:42
|
|
|
|
|
123 | /** E.g. serialization of an empty list: FooBar
|
|
| ^^^^^^
|
|
|
|
error: you should put `BarQuz` between ticks in the documentation
|
|
--> $DIR/doc.rs:128:5
|
|
|
|
|
128 | And BarQuz too.
|
|
| ^^^^^^
|
|
|
|
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
|
|
--> $DIR/doc.rs:129:1
|
|
|
|
|
129 | be_sure_we_got_to_the_end_of_it
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
|
|
--> $DIR/doc.rs:140:5
|
|
|
|
|
140 | /// be_sure_we_got_to_the_end_of_it
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: you should put bare URLs between `<`/`>` or make a proper Markdown link
|
|
--> $DIR/doc.rs:167:13
|
|
|
|
|
167 | /// Not ok: http://www.unicode.org
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: you should put bare URLs between `<`/`>` or make a proper Markdown link
|
|
--> $DIR/doc.rs:168:13
|
|
|
|
|
168 | /// Not ok: https://www.unicode.org
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: you should put bare URLs between `<`/`>` or make a proper Markdown link
|
|
--> $DIR/doc.rs:169:13
|
|
|
|
|
169 | /// Not ok: http://www.unicode.org/
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: you should put bare URLs between `<`/`>` or make a proper Markdown link
|
|
--> $DIR/doc.rs:170:13
|
|
|
|
|
170 | /// Not ok: http://www.unicode.org/reports/tr9/#Reordering_Resolved_Levels
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 30 previous errors
|
|
|