2017-02-07 21:05:30 +01:00
|
|
|
error: you should put `DOC_MARKDOWN` between ticks in the documentation
|
2017-08-01 17:54:21 +02:00
|
|
|
--> $DIR/doc.rs:1:29
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
|
|
|
1 | //! This file tests for the DOC_MARKDOWN lint
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
2017-05-17 14:19:44 +02:00
|
|
|
= note: `-D 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
|
2017-08-01 17:54:21 +02:00
|
|
|
--> $DIR/doc.rs:8:9
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2017-05-11 12:13:52 +02:00
|
|
|
8 | /// The foo_bar function does _nothing_. See also foo::bar. (note the dot there)
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
error: you should put `foo::bar` between ticks in the documentation
|
2017-08-01 17:54:21 +02:00
|
|
|
--> $DIR/doc.rs:8:51
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2017-05-11 12:13:52 +02:00
|
|
|
8 | /// The foo_bar function does _nothing_. See also foo::bar. (note the dot there)
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
error: you should put `Foo::some_fun` between ticks in the documentation
|
2017-08-01 17:54:21 +02:00
|
|
|
--> $DIR/doc.rs:9:84
|
2017-05-11 12:13:52 +02:00
|
|
|
|
|
2017-08-01 17:54:21 +02:00
|
|
|
9 | /// Markdown is _weird_. I mean _really weird_. This /_ is ok. So is `_`. But not Foo::some_fun
|
2017-05-11 12:13:52 +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
|
2017-08-01 17:54:21 +02:00
|
|
|
--> $DIR/doc.rs:11:15
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2017-05-30 19:28:44 +02:00
|
|
|
11 | /// Here be ::a::global:path.
|
|
|
|
| ^^^^^^^^^^^^^^
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
|
|
error: you should put `NotInCodeBlock` between ticks in the documentation
|
2017-08-01 17:54:21 +02:00
|
|
|
--> $DIR/doc.rs:12:22
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2017-05-11 12:13:52 +02:00
|
|
|
12 | /// 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
|
2017-08-01 17:54:21 +02:00
|
|
|
--> $DIR/doc.rs:13:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2017-05-11 12:13:52 +02:00
|
|
|
13 | /// 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
|
2017-08-01 17:54:21 +02:00
|
|
|
--> $DIR/doc.rs:27:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2017-05-11 12:13:52 +02:00
|
|
|
27 | /// 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
|
2017-08-01 17:54:21 +02:00
|
|
|
--> $DIR/doc.rs:34:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2017-05-11 12:13:52 +02:00
|
|
|
34 | /// 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
|
2017-08-01 17:54:21 +02:00
|
|
|
--> $DIR/doc.rs:48:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2017-05-11 12:13:52 +02:00
|
|
|
48 | /// 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
|
2017-08-01 17:54:21 +02:00
|
|
|
--> $DIR/doc.rs:52:22
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2017-05-30 19:28:44 +02:00
|
|
|
52 | /// This test has [a link_with_underscores][chunked-example] inside it. See #823.
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
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
|
2017-08-01 17:54:21 +02:00
|
|
|
--> $DIR/doc.rs:55:21
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2017-05-30 19:28:44 +02:00
|
|
|
55 | /// It can also be [inline_link2].
|
|
|
|
| ^^^^^^^^^^^^
|
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
|
2017-08-01 17:54:21 +02:00
|
|
|
--> $DIR/doc.rs:65:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2017-05-30 19:28:44 +02:00
|
|
|
65 | /// 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 `CamelCaseThing` between ticks in the documentation
|
2017-08-01 17:54:21 +02:00
|
|
|
--> $DIR/doc.rs:73:8
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2017-05-30 19:28:44 +02:00
|
|
|
73 | /// ## CamelCaseThing
|
|
|
|
| ^^^^^^^^^^^^^^
|
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
|
2017-08-01 17:54:21 +02:00
|
|
|
--> $DIR/doc.rs:76:7
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2017-05-30 19:28:44 +02:00
|
|
|
76 | /// # CamelCaseThing
|
|
|
|
| ^^^^^^^^^^^^^^
|
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
|
2017-08-01 17:54:21 +02:00
|
|
|
--> $DIR/doc.rs:78:22
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2017-05-30 19:28:44 +02:00
|
|
|
78 | /// Not a title #897 CamelCaseThing
|
|
|
|
| ^^^^^^^^^^^^^^
|
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
|
2017-08-01 17:54:21 +02:00
|
|
|
--> $DIR/doc.rs:79:5
|
2017-05-11 12:13:52 +02:00
|
|
|
|
|
2017-05-30 19:28:44 +02:00
|
|
|
79 | /// 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
|
2017-08-01 17:54:21 +02:00
|
|
|
--> $DIR/doc.rs:86:5
|
2017-05-11 12:13:52 +02:00
|
|
|
|
|
2017-05-30 19:28:44 +02:00
|
|
|
86 | /// 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
|
2017-08-01 17:54:21 +02:00
|
|
|
--> $DIR/doc.rs:99:5
|
2017-05-30 19:28:44 +02:00
|
|
|
|
|
|
|
|
99 | /// 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
|
2017-08-01 17:54:21 +02:00
|
|
|
--> $DIR/doc.rs:110:42
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2017-05-30 19:28:44 +02:00
|
|
|
110 | /** 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
|
2017-08-01 17:54:21 +02:00
|
|
|
--> $DIR/doc.rs:115:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2017-05-30 19:28:44 +02:00
|
|
|
115 | 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
|
2017-08-01 17:54:21 +02:00
|
|
|
--> $DIR/doc.rs:116:1
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2017-05-30 19:28:44 +02:00
|
|
|
116 | 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
|
2017-08-01 17:54:21 +02:00
|
|
|
--> $DIR/doc.rs:121:42
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2017-05-30 19:28:44 +02:00
|
|
|
121 | /** 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
|
2017-08-01 17:54:21 +02:00
|
|
|
--> $DIR/doc.rs:126:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2017-05-30 19:28:44 +02:00
|
|
|
126 | 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
|
2017-08-01 17:54:21 +02:00
|
|
|
--> $DIR/doc.rs:127:1
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2017-05-30 19:28:44 +02:00
|
|
|
127 | 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
|
2017-08-01 17:54:21 +02:00
|
|
|
--> $DIR/doc.rs:138:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2017-05-30 19:28:44 +02:00
|
|
|
138 | /// 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
|
2017-06-18 23:00:14 +02:00
|
|
|
--> $DIR/doc.rs:165:13
|
|
|
|
|
|
2017-06-19 21:23:50 +02:00
|
|
|
165 | /// Not ok: http://www.unicode.org
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: you should put bare URLs between `<`/`>` or make a proper Markdown link
|
|
|
|
--> $DIR/doc.rs:166:13
|
|
|
|
|
|
|
|
|
166 | /// Not ok: https://www.unicode.org
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
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: http://www.unicode.org/reports/tr9/#Reordering_Resolved_Levels
|
2017-06-18 23:00:14 +02:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2018-01-16 17:06:27 +01:00
|
|
|
error: aborting due to 30 previous errors
|
|
|
|
|