2017-02-07 20:05:30 +00:00
|
|
|
error: you should put `DOC_MARKDOWN` between ticks in the documentation
|
2018-12-09 16:17:58 +00:00
|
|
|
--> $DIR/doc.rs:10:29
|
2018-10-06 16:18:06 +00:00
|
|
|
|
|
2018-12-09 16:17:58 +00:00
|
|
|
10 | //! This file tests for the DOC_MARKDOWN lint
|
2018-10-06 16:18:06 +00:00
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::doc-markdown` implied by `-D warnings`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: you should put `foo_bar` between ticks in the documentation
|
2018-12-09 16:17:58 +00:00
|
|
|
--> $DIR/doc.rs:15:9
|
2018-08-01 14:30:44 +00:00
|
|
|
|
|
2018-12-09 16:17:58 +00:00
|
|
|
15 | /// The foo_bar function does _nothing_. See also foo::bar. (note the dot there)
|
2018-08-01 14:30:44 +00:00
|
|
|
| ^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: you should put `foo::bar` between ticks in the documentation
|
2018-12-09 16:17:58 +00:00
|
|
|
--> $DIR/doc.rs:15:51
|
2018-08-01 14:30:44 +00:00
|
|
|
|
|
2018-12-09 16:17:58 +00:00
|
|
|
15 | /// The foo_bar function does _nothing_. See also foo::bar. (note the dot there)
|
2018-08-01 14:30:44 +00:00
|
|
|
| ^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: you should put `Foo::some_fun` between ticks in the documentation
|
2018-12-09 16:17:58 +00:00
|
|
|
--> $DIR/doc.rs:16:84
|
2018-08-01 14:30:44 +00:00
|
|
|
|
|
2018-12-09 16:17:58 +00:00
|
|
|
16 | /// Markdown is _weird_. I mean _really weird_. This /_ is ok. So is `_`. But not Foo::some_fun
|
2018-08-01 14:30:44 +00:00
|
|
|
| ^^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
2017-05-30 17:28:44 +00:00
|
|
|
error: you should put `a::global:path` between ticks in the documentation
|
2018-12-09 16:17:58 +00:00
|
|
|
--> $DIR/doc.rs:18:15
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-09 16:17:58 +00:00
|
|
|
18 | /// Here be ::a::global:path.
|
2017-05-30 17:28:44 +00:00
|
|
|
| ^^^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: you should put `NotInCodeBlock` between ticks in the documentation
|
2018-12-09 16:17:58 +00:00
|
|
|
--> $DIR/doc.rs:19:22
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-09 16:17:58 +00:00
|
|
|
19 | /// That's not code ~NotInCodeBlock~.
|
2017-05-30 17:28:44 +00:00
|
|
|
| ^^^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
|
2018-12-09 16:17:58 +00:00
|
|
|
--> $DIR/doc.rs:20:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-09 16:17:58 +00:00
|
|
|
20 | /// be_sure_we_got_to_the_end_of_it
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
|
2018-12-09 16:17:58 +00:00
|
|
|
--> $DIR/doc.rs:34:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-09 16:17:58 +00:00
|
|
|
34 | /// be_sure_we_got_to_the_end_of_it
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
|
2018-12-09 16:17:58 +00:00
|
|
|
--> $DIR/doc.rs:41:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-09 16:17:58 +00:00
|
|
|
41 | /// be_sure_we_got_to_the_end_of_it
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
|
2018-12-09 16:17:58 +00:00
|
|
|
--> $DIR/doc.rs:55:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-09 16:17:58 +00:00
|
|
|
55 | /// be_sure_we_got_to_the_end_of_it
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2017-05-30 17:28:44 +00:00
|
|
|
error: you should put `link_with_underscores` between ticks in the documentation
|
2018-12-09 16:17:58 +00:00
|
|
|
--> $DIR/doc.rs:59:22
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-09 16:17:58 +00:00
|
|
|
59 | /// This test has [a link_with_underscores][chunked-example] inside it. See #823.
|
2017-05-30 17:28:44 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
2017-05-30 17:28:44 +00:00
|
|
|
error: you should put `inline_link2` between ticks in the documentation
|
2018-12-09 16:17:58 +00:00
|
|
|
--> $DIR/doc.rs:62:21
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-09 16:17:58 +00:00
|
|
|
62 | /// It can also be [inline_link2].
|
2017-05-30 17:28:44 +00:00
|
|
|
| ^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
2017-05-30 17:28:44 +00:00
|
|
|
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
|
2018-12-09 16:17:58 +00:00
|
|
|
--> $DIR/doc.rs:72:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-09 16:17:58 +00:00
|
|
|
72 | /// be_sure_we_got_to_the_end_of_it
|
2017-05-30 17:28:44 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
2017-05-30 17:28:44 +00:00
|
|
|
error: you should put `CamelCaseThing` between ticks in the documentation
|
2018-12-09 16:17:58 +00:00
|
|
|
--> $DIR/doc.rs:80:8
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-09 16:17:58 +00:00
|
|
|
80 | /// ## CamelCaseThing
|
2017-05-30 17:28:44 +00:00
|
|
|
| ^^^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
2017-05-30 17:28:44 +00:00
|
|
|
error: you should put `CamelCaseThing` between ticks in the documentation
|
2018-12-09 16:17:58 +00:00
|
|
|
--> $DIR/doc.rs:83:7
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-09 16:17:58 +00:00
|
|
|
83 | /// # CamelCaseThing
|
2017-05-30 17:28:44 +00:00
|
|
|
| ^^^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
2017-05-30 17:28:44 +00:00
|
|
|
error: you should put `CamelCaseThing` between ticks in the documentation
|
2018-12-09 16:17:58 +00:00
|
|
|
--> $DIR/doc.rs:85:22
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-09 16:17:58 +00:00
|
|
|
85 | /// Not a title #897 CamelCaseThing
|
2017-05-30 17:28:44 +00:00
|
|
|
| ^^^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
2017-05-30 17:28:44 +00:00
|
|
|
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
|
2018-12-09 16:17:58 +00:00
|
|
|
--> $DIR/doc.rs:86:5
|
2017-05-11 10:13:52 +00:00
|
|
|
|
|
2018-12-09 16:17:58 +00:00
|
|
|
86 | /// be_sure_we_got_to_the_end_of_it
|
2017-05-30 17:28:44 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
|
2018-12-09 16:17:58 +00:00
|
|
|
--> $DIR/doc.rs:93:5
|
2017-05-11 10:13:52 +00:00
|
|
|
|
|
2018-12-09 16:17:58 +00:00
|
|
|
93 | /// be_sure_we_got_to_the_end_of_it
|
2017-05-11 10:13:52 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
|
2018-12-09 16:17:58 +00:00
|
|
|
--> $DIR/doc.rs:106:5
|
2018-08-01 14:30:44 +00:00
|
|
|
|
|
2018-12-09 16:17:58 +00:00
|
|
|
106 | /// be_sure_we_got_to_the_end_of_it
|
2018-08-01 14:30:44 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: you should put `FooBar` between ticks in the documentation
|
2018-12-09 16:17:58 +00:00
|
|
|
--> $DIR/doc.rs:117:42
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-09 16:17:58 +00:00
|
|
|
117 | /** E.g. serialization of an empty list: FooBar
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^
|
|
|
|
|
|
|
|
error: you should put `BarQuz` between ticks in the documentation
|
2018-12-09 16:17:58 +00:00
|
|
|
--> $DIR/doc.rs:122:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-09 16:17:58 +00:00
|
|
|
122 | And BarQuz too.
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^
|
|
|
|
|
|
|
|
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
|
2018-12-09 16:17:58 +00:00
|
|
|
--> $DIR/doc.rs:123:1
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-09 16:17:58 +00:00
|
|
|
123 | be_sure_we_got_to_the_end_of_it
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: you should put `FooBar` between ticks in the documentation
|
2018-12-09 16:17:58 +00:00
|
|
|
--> $DIR/doc.rs:128:42
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-09 16:17:58 +00:00
|
|
|
128 | /** E.g. serialization of an empty list: FooBar
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^
|
|
|
|
|
|
|
|
error: you should put `BarQuz` between ticks in the documentation
|
2018-12-09 16:17:58 +00:00
|
|
|
--> $DIR/doc.rs:133:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-09 16:17:58 +00:00
|
|
|
133 | And BarQuz too.
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^
|
|
|
|
|
|
|
|
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
|
2018-12-09 16:17:58 +00:00
|
|
|
--> $DIR/doc.rs:134:1
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-09 16:17:58 +00:00
|
|
|
134 | be_sure_we_got_to_the_end_of_it
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
|
2018-12-09 16:17:58 +00:00
|
|
|
--> $DIR/doc.rs:145:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-09 16:17:58 +00:00
|
|
|
145 | /// be_sure_we_got_to_the_end_of_it
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2017-06-19 19:23:50 +00:00
|
|
|
error: you should put bare URLs between `<`/`>` or make a proper Markdown link
|
2018-12-09 16:17:58 +00:00
|
|
|
--> $DIR/doc.rs:172:13
|
2017-06-18 21:00:14 +00:00
|
|
|
|
|
2018-12-09 16:17:58 +00:00
|
|
|
172 | /// Not ok: http://www.unicode.org
|
2017-06-19 19:23:50 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: you should put bare URLs between `<`/`>` or make a proper Markdown link
|
2018-12-09 16:17:58 +00:00
|
|
|
--> $DIR/doc.rs:173:13
|
2017-06-19 19:23:50 +00:00
|
|
|
|
|
2018-12-09 16:17:58 +00:00
|
|
|
173 | /// Not ok: https://www.unicode.org
|
2017-06-19 19:23:50 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: you should put bare URLs between `<`/`>` or make a proper Markdown link
|
2018-12-09 16:17:58 +00:00
|
|
|
--> $DIR/doc.rs:174:13
|
2017-06-19 19:23:50 +00:00
|
|
|
|
|
2018-12-09 16:17:58 +00:00
|
|
|
174 | /// Not ok: http://www.unicode.org/
|
2017-06-19 19:23:50 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: you should put bare URLs between `<`/`>` or make a proper Markdown link
|
2018-12-09 16:17:58 +00:00
|
|
|
--> $DIR/doc.rs:175:13
|
2017-06-19 19:23:50 +00:00
|
|
|
|
|
2018-12-09 16:17:58 +00:00
|
|
|
175 | /// Not ok: http://www.unicode.org/reports/tr9/#Reordering_Resolved_Levels
|
2017-06-18 21:00:14 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2018-01-16 16:06:27 +00:00
|
|
|
error: aborting due to 30 previous errors
|
|
|
|
|