2017-02-07 21:05:30 +01:00
|
|
|
error: you should put `DOC_MARKDOWN` between ticks in the documentation
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/doc.rs:1:29
|
2018-10-06 18:18:06 +02:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | //! This file tests for the DOC_MARKDOWN lint
|
2018-10-06 18:18:06 +02:00
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::doc-markdown` implied by `-D warnings`
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
|
|
error: you should put `foo_bar` between ticks in the documentation
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/doc.rs:6:9
|
2018-08-01 16:30:44 +02:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | /// The foo_bar function does _nothing_. See also foo::bar. (note the dot there)
|
2018-08-01 16:30:44 +02:00
|
|
|
| ^^^^^^^
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
|
|
error: you should put `foo::bar` between ticks in the documentation
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/doc.rs:6:51
|
2018-08-01 16:30:44 +02:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | /// The foo_bar function does _nothing_. See also foo::bar. (note the dot there)
|
2018-08-01 16:30:44 +02:00
|
|
|
| ^^^^^^^^
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
|
|
error: you should put `Foo::some_fun` between ticks in the documentation
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/doc.rs:7:84
|
2018-08-01 16:30:44 +02:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | /// Markdown is _weird_. I mean _really weird_. This /_ is ok. So is `_`. But not Foo::some_fun
|
2018-08-01 16:30:44 +02:00
|
|
|
| ^^^^^^^^^^^^^
|
2017-02-07 21:05:30 +01:00
|
|
|
|
2017-05-30 19:28:44 +02:00
|
|
|
error: you should put `a::global:path` between ticks in the documentation
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/doc.rs:9:15
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | /// Here be ::a::global:path.
|
2017-05-30 19:28:44 +02:00
|
|
|
| ^^^^^^^^^^^^^^
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
|
|
error: you should put `NotInCodeBlock` between ticks in the documentation
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/doc.rs:10:22
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | /// That's not code ~NotInCodeBlock~.
|
2017-05-30 19:28:44 +02:00
|
|
|
| ^^^^^^^^^^^^^^
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
|
|
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/doc.rs:11:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | /// be_sure_we_got_to_the_end_of_it
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/doc.rs:25:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | /// be_sure_we_got_to_the_end_of_it
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/doc.rs:32:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | /// be_sure_we_got_to_the_end_of_it
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/doc.rs:46:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | /// be_sure_we_got_to_the_end_of_it
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2017-05-30 19:28:44 +02:00
|
|
|
error: you should put `link_with_underscores` between ticks in the documentation
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/doc.rs:50:22
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | /// This test has [a link_with_underscores][chunked-example] inside it. See #823.
|
2017-05-30 19:28:44 +02:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 21:05:30 +01:00
|
|
|
|
2017-05-30 19:28:44 +02:00
|
|
|
error: you should put `inline_link2` between ticks in the documentation
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/doc.rs:53:21
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | /// It can also be [inline_link2].
|
2017-05-30 19:28:44 +02:00
|
|
|
| ^^^^^^^^^^^^
|
2017-02-07 21:05:30 +01:00
|
|
|
|
2017-05-30 19:28:44 +02:00
|
|
|
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/doc.rs:63:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | /// be_sure_we_got_to_the_end_of_it
|
2017-05-30 19:28:44 +02:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 21:05:30 +01:00
|
|
|
|
2017-05-30 19:28:44 +02:00
|
|
|
error: you should put `CamelCaseThing` between ticks in the documentation
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/doc.rs:71:8
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | /// ## CamelCaseThing
|
2017-05-30 19:28:44 +02:00
|
|
|
| ^^^^^^^^^^^^^^
|
2017-02-07 21:05:30 +01:00
|
|
|
|
2017-05-30 19:28:44 +02:00
|
|
|
error: you should put `CamelCaseThing` between ticks in the documentation
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/doc.rs:74:7
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | /// # CamelCaseThing
|
2017-05-30 19:28:44 +02:00
|
|
|
| ^^^^^^^^^^^^^^
|
2017-02-07 21:05:30 +01:00
|
|
|
|
2017-05-30 19:28:44 +02:00
|
|
|
error: you should put `CamelCaseThing` between ticks in the documentation
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/doc.rs:76:22
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | /// Not a title #897 CamelCaseThing
|
2017-05-30 19:28:44 +02:00
|
|
|
| ^^^^^^^^^^^^^^
|
2017-02-07 21:05:30 +01:00
|
|
|
|
2017-05-30 19:28:44 +02:00
|
|
|
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/doc.rs:77:5
|
2017-05-11 12:13:52 +02:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | /// be_sure_we_got_to_the_end_of_it
|
2017-05-30 19:28:44 +02:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
|
|
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/doc.rs:84:5
|
2017-05-11 12:13:52 +02:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | /// be_sure_we_got_to_the_end_of_it
|
2017-05-11 12:13:52 +02:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
|
|
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/doc.rs:97:5
|
2018-12-27 16:57:55 +01:00
|
|
|
|
|
|
|
|
LL | /// be_sure_we_got_to_the_end_of_it
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
|
|
error: you should put `FooBar` between ticks in the documentation
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/doc.rs:108:42
|
2018-12-27 16:57:55 +01:00
|
|
|
|
|
|
|
|
LL | /** E.g. serialization of an empty list: FooBar
|
|
|
|
| ^^^^^^
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
|
|
error: you should put `BarQuz` between ticks in the documentation
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/doc.rs:113:5
|
2018-12-27 16:57:55 +01:00
|
|
|
|
|
|
|
|
LL | And BarQuz too.
|
|
|
|
| ^^^^^^
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
|
|
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/doc.rs:114:1
|
2018-12-27 16:57:55 +01:00
|
|
|
|
|
|
|
|
LL | be_sure_we_got_to_the_end_of_it
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
|
|
error: you should put `FooBar` between ticks in the documentation
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/doc.rs:119:42
|
2018-12-27 16:57:55 +01:00
|
|
|
|
|
|
|
|
LL | /** E.g. serialization of an empty list: FooBar
|
|
|
|
| ^^^^^^
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
|
|
error: you should put `BarQuz` between ticks in the documentation
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/doc.rs:124:5
|
2018-12-27 16:57:55 +01:00
|
|
|
|
|
|
|
|
LL | And BarQuz too.
|
|
|
|
| ^^^^^^
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
|
|
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/doc.rs:125:1
|
2018-12-27 16:57:55 +01:00
|
|
|
|
|
|
|
|
LL | be_sure_we_got_to_the_end_of_it
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
|
|
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/doc.rs:136:5
|
2018-12-27 16:57:55 +01:00
|
|
|
|
|
|
|
|
LL | /// be_sure_we_got_to_the_end_of_it
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 21:05:30 +01:00
|
|
|
|
2017-06-19 21:23:50 +02:00
|
|
|
error: you should put bare URLs between `<`/`>` or make a proper Markdown link
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/doc.rs:163:13
|
2018-12-27 16:57:55 +01:00
|
|
|
|
|
|
|
|
LL | /// Not ok: http://www.unicode.org
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
2017-06-19 21:23:50 +02:00
|
|
|
|
|
|
|
error: you should put bare URLs between `<`/`>` or make a proper Markdown link
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/doc.rs:164:13
|
2018-12-27 16:57:55 +01:00
|
|
|
|
|
|
|
|
LL | /// Not ok: https://www.unicode.org
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
2017-06-19 21:23:50 +02:00
|
|
|
|
|
|
|
error: you should put bare URLs between `<`/`>` or make a proper Markdown link
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/doc.rs:165:13
|
2018-12-27 16:57:55 +01:00
|
|
|
|
|
|
|
|
LL | /// Not ok: http://www.unicode.org/
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
2017-06-19 21:23:50 +02:00
|
|
|
|
|
|
|
error: you should put bare URLs between `<`/`>` or make a proper Markdown link
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/doc.rs:166:13
|
2018-12-27 16:57:55 +01:00
|
|
|
|
|
|
|
|
LL | /// Not ok: http://www.unicode.org/reports/tr9/#Reordering_Resolved_Levels
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-06-18 23:00:14 +02:00
|
|
|
|
2018-12-07 11:48:06 +01:00
|
|
|
error: you should put `mycrate::Collection` between ticks in the documentation
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/doc.rs:172:22
|
2018-12-27 16:57:55 +01:00
|
|
|
|
|
|
|
|
LL | /// An iterator over mycrate::Collection's values.
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
2018-12-07 11:48:06 +01:00
|
|
|
|
|
|
|
error: aborting due to 31 previous errors
|
2018-01-16 17:06:27 +01:00
|
|
|
|