2017-02-07 20:05:30 +00:00
|
|
|
|
error: you should put `DOC_MARKDOWN` between ticks in the documentation
|
|
|
|
|
--> $DIR/doc.rs:1:29
|
|
|
|
|
|
|
|
|
|
|
1 | //! This file tests for the DOC_MARKDOWN lint
|
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
|
note: lint level defined here
|
2017-05-11 10:13:52 +00:00
|
|
|
|
--> $DIR/doc.rs:6:9
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
2017-05-11 10:13:52 +00:00
|
|
|
|
6 | #![deny(doc_markdown)]
|
2017-02-07 20:05:30 +00:00
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
error: you should put `foo_bar` between ticks in the documentation
|
2017-05-11 10:13:52 +00:00
|
|
|
|
--> $DIR/doc.rs:8:9
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
2017-05-11 10:13:52 +00:00
|
|
|
|
8 | /// The foo_bar function does _nothing_. See also foo::bar. (note the dot there)
|
2017-02-07 20:05:30 +00:00
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
|
|
error: you should put `foo::bar` between ticks in the documentation
|
2017-05-11 10:13:52 +00:00
|
|
|
|
--> $DIR/doc.rs:8:51
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
2017-05-11 10:13:52 +00:00
|
|
|
|
8 | /// The foo_bar function does _nothing_. See also foo::bar. (note the dot there)
|
2017-02-07 20:05:30 +00:00
|
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
|
|
error: you should put `Foo::some_fun` between ticks in the documentation
|
2017-05-11 10:13:52 +00:00
|
|
|
|
--> $DIR/doc.rs:9:84
|
|
|
|
|
|
|
|
|
|
|
9 | /// Markdown is _weird_. I mean _really weird_. This /_ is ok. So is `_`. But not Foo::some_fun
|
|
|
|
|
| ^^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
|
|
error: you should put `is::a::global:path` between ticks in the documentation
|
2017-05-11 10:13:52 +00:00
|
|
|
|
--> $DIR/doc.rs:11:13
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
2017-05-11 10:13:52 +00:00
|
|
|
|
11 | /// Here be ::is::a::global:path.
|
2017-02-07 20:05:30 +00:00
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
error: you should put `NotInCodeBlock` between ticks in the documentation
|
2017-05-11 10:13:52 +00:00
|
|
|
|
--> $DIR/doc.rs:12:21
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
2017-05-11 10:13:52 +00:00
|
|
|
|
12 | /// That's not code ~NotInCodeBlock~.
|
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
|
2017-05-11 10:13:52 +00:00
|
|
|
|
--> $DIR/doc.rs:13:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
2017-05-11 10:13:52 +00:00
|
|
|
|
13 | /// 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
|
2017-05-11 10:13:52 +00:00
|
|
|
|
--> $DIR/doc.rs:27:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
2017-05-11 10:13:52 +00:00
|
|
|
|
27 | /// 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
|
2017-05-11 10:13:52 +00:00
|
|
|
|
--> $DIR/doc.rs:34:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
2017-05-11 10:13:52 +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
|
2017-05-11 10:13:52 +00:00
|
|
|
|
--> $DIR/doc.rs:48:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
2017-05-11 10:13:52 +00:00
|
|
|
|
48 | /// be_sure_we_got_to_the_end_of_it
|
2017-02-07 20:05:30 +00:00
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
error: you should put `ß_foo` between ticks in the documentation
|
2017-05-11 10:13:52 +00:00
|
|
|
|
--> $DIR/doc.rs:57:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
2017-05-11 10:13:52 +00:00
|
|
|
|
57 | /// ß_foo
|
2017-02-07 20:05:30 +00:00
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
|
error: you should put `ℝ_foo` between ticks in the documentation
|
2017-05-11 10:13:52 +00:00
|
|
|
|
--> $DIR/doc.rs:58:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
2017-05-11 10:13:52 +00:00
|
|
|
|
58 | /// ℝ_foo
|
2017-02-07 20:05:30 +00:00
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
|
error: you should put `foo_ß` between ticks in the documentation
|
2017-05-11 10:13:52 +00:00
|
|
|
|
--> $DIR/doc.rs:61:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
2017-05-11 10:13:52 +00:00
|
|
|
|
61 | /// foo_ß
|
2017-02-07 20:05:30 +00:00
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
|
error: you should put `foo_ℝ` between ticks in the documentation
|
2017-05-11 10:13:52 +00:00
|
|
|
|
--> $DIR/doc.rs:62:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
2017-05-11 10:13:52 +00:00
|
|
|
|
62 | /// foo_ℝ
|
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
|
2017-05-11 10:13:52 +00:00
|
|
|
|
--> $DIR/doc.rs:77:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
2017-05-11 10:13:52 +00:00
|
|
|
|
77 | /// be_sure_we_got_to_the_end_of_it
|
2017-02-07 20:05:30 +00:00
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
error: you should put `link_with_underscores` between ticks in the documentation
|
2017-05-11 10:13:52 +00:00
|
|
|
|
--> $DIR/doc.rs:81:22
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
2017-05-11 10:13:52 +00:00
|
|
|
|
81 | /// This test has [a link_with_underscores][chunked-example] inside it. See #823.
|
2017-02-07 20:05:30 +00:00
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
error: you should put `inline_link2` between ticks in the documentation
|
2017-05-11 10:13:52 +00:00
|
|
|
|
--> $DIR/doc.rs:84:21
|
|
|
|
|
|
|
|
|
|
|
84 | /// It can also be [inline_link2].
|
|
|
|
|
| ^^^^^^^^^^^^
|
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
|
2017-05-11 10:13:52 +00:00
|
|
|
|
--> $DIR/doc.rs:94:5
|
|
|
|
|
|
|
|
|
|
|
94 | /// be_sure_we_got_to_the_end_of_it
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
|
|
error: you should put `CamelCaseThing` between ticks in the documentation
|
2017-05-11 10:13:52 +00:00
|
|
|
|
--> $DIR/doc.rs:107:22
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
2017-05-11 10:13:52 +00:00
|
|
|
|
107 | /// Not a title #897 CamelCaseThing
|
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
|
2017-05-11 10:13:52 +00:00
|
|
|
|
--> $DIR/doc.rs:108:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
2017-05-11 10:13:52 +00:00
|
|
|
|
108 | /// 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
|
2017-05-11 10:13:52 +00:00
|
|
|
|
--> $DIR/doc.rs:115:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
2017-05-11 10:13:52 +00:00
|
|
|
|
115 | /// 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
|
2017-05-11 10:13:52 +00:00
|
|
|
|
--> $DIR/doc.rs:128:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
2017-05-11 10:13:52 +00:00
|
|
|
|
128 | /// 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
|
2017-05-11 10:13:52 +00:00
|
|
|
|
--> $DIR/doc.rs:139:42
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
2017-05-11 10:13:52 +00:00
|
|
|
|
139 | /** 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
|
2017-05-11 10:13:52 +00:00
|
|
|
|
--> $DIR/doc.rs:144:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
2017-05-11 10:13:52 +00:00
|
|
|
|
144 | 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
|
2017-05-11 10:13:52 +00:00
|
|
|
|
--> $DIR/doc.rs:145:1
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
2017-05-11 10:13:52 +00:00
|
|
|
|
145 | 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
|
2017-05-11 10:13:52 +00:00
|
|
|
|
--> $DIR/doc.rs:150:42
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
2017-05-11 10:13:52 +00:00
|
|
|
|
150 | /** 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
|
2017-05-11 10:13:52 +00:00
|
|
|
|
--> $DIR/doc.rs:155:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
2017-05-11 10:13:52 +00:00
|
|
|
|
155 | 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
|
2017-05-11 10:13:52 +00:00
|
|
|
|
--> $DIR/doc.rs:156:1
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
2017-05-11 10:13:52 +00:00
|
|
|
|
156 | 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
|
2017-05-11 10:13:52 +00:00
|
|
|
|
--> $DIR/doc.rs:167:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
2017-05-11 10:13:52 +00:00
|
|
|
|
167 | /// be_sure_we_got_to_the_end_of_it
|
2017-02-07 20:05:30 +00:00
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
error: aborting due to 29 previous errors
|
|
|
|
|
|