rust/tests/ui/doc.stderr

185 lines
6.0 KiB
Plaintext
Raw Normal View History

error: you should put `DOC_MARKDOWN` between ticks in the documentation
2018-10-06 11:18:06 -05:00
--> $DIR/doc.rs:13:29
|
13 | //! 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
2018-10-06 11:18:06 -05:00
--> $DIR/doc.rs:20:9
|
2018-10-06 11:18:06 -05:00
20 | /// 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
2018-10-06 11:18:06 -05:00
--> $DIR/doc.rs:20:51
|
2018-10-06 11:18:06 -05:00
20 | /// 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
2018-10-06 11:18:06 -05:00
--> $DIR/doc.rs:21:84
|
2018-10-06 11:18:06 -05:00
21 | /// 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
2018-10-06 11:18:06 -05:00
--> $DIR/doc.rs:23:15
|
2018-10-06 11:18:06 -05:00
23 | /// Here be ::a::global:path.
| ^^^^^^^^^^^^^^
error: you should put `NotInCodeBlock` between ticks in the documentation
2018-10-06 11:18:06 -05:00
--> $DIR/doc.rs:24:22
|
2018-10-06 11:18:06 -05:00
24 | /// That's not code ~NotInCodeBlock~.
| ^^^^^^^^^^^^^^
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
2018-10-06 11:18:06 -05:00
--> $DIR/doc.rs:25:5
|
2018-10-06 11:18:06 -05:00
25 | /// 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
2018-10-06 11:18:06 -05:00
--> $DIR/doc.rs:39:5
|
2018-10-06 11:18:06 -05:00
39 | /// 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
2018-10-06 11:18:06 -05:00
--> $DIR/doc.rs:46:5
|
2018-10-06 11:18:06 -05:00
46 | /// 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
2018-10-06 11:18:06 -05:00
--> $DIR/doc.rs:60:5
|
2018-10-06 11:18:06 -05:00
60 | /// be_sure_we_got_to_the_end_of_it
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: you should put `link_with_underscores` between ticks in the documentation
2018-10-06 11:18:06 -05:00
--> $DIR/doc.rs:64:22
|
2018-10-06 11:18:06 -05:00
64 | /// This test has [a link_with_underscores][chunked-example] inside it. See #823.
| ^^^^^^^^^^^^^^^^^^^^^
error: you should put `inline_link2` between ticks in the documentation
2018-10-06 11:18:06 -05:00
--> $DIR/doc.rs:67:21
|
2018-10-06 11:18:06 -05:00
67 | /// It can also be [inline_link2].
| ^^^^^^^^^^^^
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
2018-10-06 11:18:06 -05:00
--> $DIR/doc.rs:77:5
|
2018-10-06 11:18:06 -05:00
77 | /// be_sure_we_got_to_the_end_of_it
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: you should put `CamelCaseThing` between ticks in the documentation
2018-10-06 11:18:06 -05:00
--> $DIR/doc.rs:85:8
|
2018-10-06 11:18:06 -05:00
85 | /// ## CamelCaseThing
| ^^^^^^^^^^^^^^
error: you should put `CamelCaseThing` between ticks in the documentation
2018-10-06 11:18:06 -05:00
--> $DIR/doc.rs:88:7
|
2018-10-06 11:18:06 -05:00
88 | /// # CamelCaseThing
| ^^^^^^^^^^^^^^
error: you should put `CamelCaseThing` between ticks in the documentation
2018-10-06 11:18:06 -05:00
--> $DIR/doc.rs:90:22
|
2018-10-06 11:18:06 -05:00
90 | /// Not a title #897 CamelCaseThing
| ^^^^^^^^^^^^^^
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
2018-10-06 11:18:06 -05:00
--> $DIR/doc.rs:91:5
|
2018-10-06 11:18:06 -05:00
91 | /// 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
2018-10-06 11:18:06 -05:00
--> $DIR/doc.rs:98:5
|
2018-10-06 11:18:06 -05:00
98 | /// 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
2018-10-06 11:18:06 -05:00
--> $DIR/doc.rs:111:5
|
2018-10-06 11:18:06 -05:00
111 | /// be_sure_we_got_to_the_end_of_it
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: you should put `FooBar` between ticks in the documentation
2018-10-06 11:18:06 -05:00
--> $DIR/doc.rs:122:42
|
2018-10-06 11:18:06 -05:00
122 | /** E.g. serialization of an empty list: FooBar
| ^^^^^^
error: you should put `BarQuz` between ticks in the documentation
2018-10-06 11:18:06 -05:00
--> $DIR/doc.rs:127:5
|
2018-10-06 11:18:06 -05:00
127 | And BarQuz too.
| ^^^^^^
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
2018-10-06 11:18:06 -05:00
--> $DIR/doc.rs:128:1
|
2018-10-06 11:18:06 -05:00
128 | be_sure_we_got_to_the_end_of_it
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: you should put `FooBar` between ticks in the documentation
2018-10-06 11:18:06 -05:00
--> $DIR/doc.rs:133:42
|
2018-10-06 11:18:06 -05:00
133 | /** E.g. serialization of an empty list: FooBar
| ^^^^^^
error: you should put `BarQuz` between ticks in the documentation
2018-10-06 11:18:06 -05:00
--> $DIR/doc.rs:138:5
|
2018-10-06 11:18:06 -05:00
138 | And BarQuz too.
| ^^^^^^
error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
2018-10-06 11:18:06 -05:00
--> $DIR/doc.rs:139:1
|
2018-10-06 11:18:06 -05:00
139 | 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
2018-10-06 11:18:06 -05:00
--> $DIR/doc.rs:150:5
|
2018-10-06 11:18:06 -05:00
150 | /// be_sure_we_got_to_the_end_of_it
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: you should put bare URLs between `<`/`>` or make a proper Markdown link
2018-10-06 11:18:06 -05:00
--> $DIR/doc.rs:177:13
2017-06-18 16:00:14 -05:00
|
2018-10-06 11:18:06 -05:00
177 | /// Not ok: http://www.unicode.org
| ^^^^^^^^^^^^^^^^^^^^^^
error: you should put bare URLs between `<`/`>` or make a proper Markdown link
2018-10-06 11:18:06 -05:00
--> $DIR/doc.rs:178:13
|
2018-10-06 11:18:06 -05:00
178 | /// Not ok: https://www.unicode.org
| ^^^^^^^^^^^^^^^^^^^^^^^
error: you should put bare URLs between `<`/`>` or make a proper Markdown link
2018-10-06 11:18:06 -05:00
--> $DIR/doc.rs:179:13
|
2018-10-06 11:18:06 -05:00
179 | /// Not ok: http://www.unicode.org/
| ^^^^^^^^^^^^^^^^^^^^^^
error: you should put bare URLs between `<`/`>` or make a proper Markdown link
2018-10-06 11:18:06 -05:00
--> $DIR/doc.rs:180:13
|
2018-10-06 11:18:06 -05:00
180 | /// Not ok: http://www.unicode.org/reports/tr9/#Reordering_Resolved_Levels
2017-06-18 16:00:14 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2018-01-16 10:06:27 -06:00
error: aborting due to 30 previous errors