Skip to content

Commit

Permalink
Auto merge of rust-lang#11000 - Centri3:doc_markdown, r=giraffate
Browse files Browse the repository at this point in the history
add WebAssembly to test

r? `@giraffate`
changelog: none
  • Loading branch information
bors committed Jun 21, 2023
2 parents 73e31d1 + 3b89984 commit b3ae038
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 16 deletions.
1 change: 1 addition & 0 deletions tests/ui/doc/doc-fixable.fixed
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ fn test_units() {
/// GitHub GitLab
/// IPv4 IPv6
/// ClojureScript CoffeeScript JavaScript PureScript TypeScript
/// WebAssembly
/// NaN NaNs
/// OAuth GraphQL
/// OCaml
Expand Down
1 change: 1 addition & 0 deletions tests/ui/doc/doc-fixable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ fn test_units() {
/// GitHub GitLab
/// IPv4 IPv6
/// ClojureScript CoffeeScript JavaScript PureScript TypeScript
/// WebAssembly
/// NaN NaNs
/// OAuth GraphQL
/// OCaml
Expand Down
32 changes: 16 additions & 16 deletions tests/ui/doc/doc-fixable.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ LL | /// `be_sure_we_got_to_the_end_of_it`
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

error: item in documentation is missing backticks
--> $DIR/doc-fixable.rs:74:5
--> $DIR/doc-fixable.rs:75:5
|
LL | /// be_sure_we_got_to_the_end_of_it
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -143,7 +143,7 @@ LL | /// `be_sure_we_got_to_the_end_of_it`
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

error: item in documentation is missing backticks
--> $DIR/doc-fixable.rs:91:5
--> $DIR/doc-fixable.rs:92:5
|
LL | /// be_sure_we_got_to_the_end_of_it
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -154,7 +154,7 @@ LL | /// `be_sure_we_got_to_the_end_of_it`
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

error: item in documentation is missing backticks
--> $DIR/doc-fixable.rs:99:8
--> $DIR/doc-fixable.rs:100:8
|
LL | /// ## CamelCaseThing
| ^^^^^^^^^^^^^^
Expand All @@ -165,7 +165,7 @@ LL | /// ## `CamelCaseThing`
| ~~~~~~~~~~~~~~~~

error: item in documentation is missing backticks
--> $DIR/doc-fixable.rs:102:7
--> $DIR/doc-fixable.rs:103:7
|
LL | /// # CamelCaseThing
| ^^^^^^^^^^^^^^
Expand All @@ -176,7 +176,7 @@ LL | /// # `CamelCaseThing`
| ~~~~~~~~~~~~~~~~

error: item in documentation is missing backticks
--> $DIR/doc-fixable.rs:104:22
--> $DIR/doc-fixable.rs:105:22
|
LL | /// Not a title #897 CamelCaseThing
| ^^^^^^^^^^^^^^
Expand All @@ -187,7 +187,7 @@ LL | /// Not a title #897 `CamelCaseThing`
| ~~~~~~~~~~~~~~~~

error: item in documentation is missing backticks
--> $DIR/doc-fixable.rs:105:5
--> $DIR/doc-fixable.rs:106:5
|
LL | /// be_sure_we_got_to_the_end_of_it
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -198,7 +198,7 @@ LL | /// `be_sure_we_got_to_the_end_of_it`
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

error: item in documentation is missing backticks
--> $DIR/doc-fixable.rs:112:5
--> $DIR/doc-fixable.rs:113:5
|
LL | /// be_sure_we_got_to_the_end_of_it
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -209,7 +209,7 @@ LL | /// `be_sure_we_got_to_the_end_of_it`
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

error: item in documentation is missing backticks
--> $DIR/doc-fixable.rs:125:5
--> $DIR/doc-fixable.rs:126:5
|
LL | /// be_sure_we_got_to_the_end_of_it
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -220,7 +220,7 @@ LL | /// `be_sure_we_got_to_the_end_of_it`
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

error: item in documentation is missing backticks
--> $DIR/doc-fixable.rs:136:43
--> $DIR/doc-fixable.rs:137:43
|
LL | /** E.g., serialization of an empty list: FooBar
| ^^^^^^
Expand All @@ -231,7 +231,7 @@ LL | /** E.g., serialization of an empty list: `FooBar`
| ~~~~~~~~

error: item in documentation is missing backticks
--> $DIR/doc-fixable.rs:141:5
--> $DIR/doc-fixable.rs:142:5
|
LL | And BarQuz too.
| ^^^^^^
Expand All @@ -242,7 +242,7 @@ LL | And `BarQuz` too.
| ~~~~~~~~

error: item in documentation is missing backticks
--> $DIR/doc-fixable.rs:142:1
--> $DIR/doc-fixable.rs:143:1
|
LL | be_sure_we_got_to_the_end_of_it
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -253,7 +253,7 @@ LL | `be_sure_we_got_to_the_end_of_it`
|

error: item in documentation is missing backticks
--> $DIR/doc-fixable.rs:147:43
--> $DIR/doc-fixable.rs:148:43
|
LL | /** E.g., serialization of an empty list: FooBar
| ^^^^^^
Expand All @@ -264,7 +264,7 @@ LL | /** E.g., serialization of an empty list: `FooBar`
| ~~~~~~~~

error: item in documentation is missing backticks
--> $DIR/doc-fixable.rs:152:5
--> $DIR/doc-fixable.rs:153:5
|
LL | And BarQuz too.
| ^^^^^^
Expand All @@ -275,7 +275,7 @@ LL | And `BarQuz` too.
| ~~~~~~~~

error: item in documentation is missing backticks
--> $DIR/doc-fixable.rs:153:1
--> $DIR/doc-fixable.rs:154:1
|
LL | be_sure_we_got_to_the_end_of_it
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -286,7 +286,7 @@ LL | `be_sure_we_got_to_the_end_of_it`
|

error: item in documentation is missing backticks
--> $DIR/doc-fixable.rs:164:5
--> $DIR/doc-fixable.rs:165:5
|
LL | /// be_sure_we_got_to_the_end_of_it
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -297,7 +297,7 @@ LL | /// `be_sure_we_got_to_the_end_of_it`
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

error: item in documentation is missing backticks
--> $DIR/doc-fixable.rs:183:22
--> $DIR/doc-fixable.rs:184:22
|
LL | /// An iterator over mycrate::Collection's values.
| ^^^^^^^^^^^^^^^^^^^
Expand Down

0 comments on commit b3ae038

Please sign in to comment.