2019-07-30 10:45:08 +00:00
|
|
|
error: unknown start of token: \
|
|
|
|
--> <doctest>:1:1
|
|
|
|
|
|
|
|
|
1 | \__________pkt->size___________/ \_result->size_/ \__pkt->size__/
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error: unknown start of token: \
|
|
|
|
--> <doctest>:1:43
|
|
|
|
|
|
|
|
|
1 | \__________pkt->size___________/ \_result->size_/ \__pkt->size__/
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error: unknown start of token: \
|
|
|
|
--> <doctest>:1:60
|
|
|
|
|
|
|
|
|
1 | \__________pkt->size___________/ \_result->size_/ \__pkt->size__/
|
|
|
|
| ^
|
|
|
|
|
2018-12-15 21:25:50 +00:00
|
|
|
warning: could not parse code block as Rust code
|
|
|
|
--> $DIR/invalid-syntax.rs:3:5
|
|
|
|
|
|
|
|
|
LL | /// ```
|
|
|
|
| _____^
|
2019-03-13 04:47:36 +00:00
|
|
|
LL | | /// \__________pkt->size___________/ \_result->size_/ \__pkt->size__/
|
2018-12-15 21:25:50 +00:00
|
|
|
LL | | /// ```
|
|
|
|
| |_______^
|
|
|
|
help: mark blocks that do not contain Rust code as text
|
|
|
|
|
|
|
|
|
LL | /// ```text
|
|
|
|
| ^^^^^^^
|
|
|
|
|
2019-07-30 10:45:08 +00:00
|
|
|
error: unknown start of token: `
|
|
|
|
--> <doctest>:3:30
|
|
|
|
|
|
|
|
|
3 | | ^^^^^^ did you mean `baz::foobar`?
|
|
|
|
| ^
|
|
|
|
help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
|
|
|
|
|
|
|
|
|
3 | | ^^^^^^ did you mean 'baz::foobar`?
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error: unknown start of token: `
|
|
|
|
--> <doctest>:3:42
|
|
|
|
|
|
|
|
|
3 | | ^^^^^^ did you mean `baz::foobar`?
|
|
|
|
| ^
|
|
|
|
help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
|
|
|
|
|
|
|
|
|
3 | | ^^^^^^ did you mean `baz::foobar'?
|
|
|
|
| ^
|
|
|
|
|
2018-12-15 21:25:50 +00:00
|
|
|
warning: could not parse code block as Rust code
|
|
|
|
--> $DIR/invalid-syntax.rs:8:5
|
|
|
|
|
|
|
|
|
LL | /// ```
|
|
|
|
| _____^
|
|
|
|
LL | | /// |
|
|
|
|
LL | | /// LL | use foobar::Baz;
|
|
|
|
LL | | /// | ^^^^^^ did you mean `baz::foobar`?
|
|
|
|
LL | | /// ```
|
|
|
|
| |_______^
|
|
|
|
help: mark blocks that do not contain Rust code as text
|
|
|
|
|
|
|
|
|
LL | /// ```text
|
|
|
|
| ^^^^^^^
|
|
|
|
|
2019-07-30 10:45:08 +00:00
|
|
|
error: unknown start of token: \
|
|
|
|
--> <doctest>:1:1
|
|
|
|
|
|
|
|
|
1 | \_
|
|
|
|
| ^
|
|
|
|
|
2018-12-15 21:25:50 +00:00
|
|
|
warning: could not parse code block as Rust code
|
|
|
|
--> $DIR/invalid-syntax.rs:19:5
|
|
|
|
|
|
|
|
|
LL | /// ```
|
|
|
|
| _____^
|
2019-03-13 04:47:36 +00:00
|
|
|
LL | | /// \_
|
2018-12-15 21:25:50 +00:00
|
|
|
LL | | /// ```
|
|
|
|
| |_______^
|
|
|
|
help: mark blocks that do not contain Rust code as text
|
|
|
|
|
|
|
|
|
LL | /// ```text
|
|
|
|
| ^^^^^^^
|
|
|
|
|
2019-07-30 10:45:08 +00:00
|
|
|
error: unknown start of token: \
|
|
|
|
--> <doctest>:1:1
|
|
|
|
|
|
|
|
|
1 | \_
|
|
|
|
| ^
|
|
|
|
|
2018-12-15 21:25:50 +00:00
|
|
|
warning: could not parse code block as Rust code
|
|
|
|
--> $DIR/invalid-syntax.rs:32:5
|
|
|
|
|
|
|
|
|
LL | /// ```rust
|
|
|
|
| _____^
|
2019-03-13 04:47:36 +00:00
|
|
|
LL | | /// \_
|
2018-12-15 21:25:50 +00:00
|
|
|
LL | | /// ```
|
|
|
|
| |_______^
|
2019-07-30 10:45:08 +00:00
|
|
|
|
|
|
|
error: unknown start of token: \
|
|
|
|
--> <doctest>:2:5
|
|
|
|
|
|
|
|
|
2 | \_
|
|
|
|
| ^
|
2018-12-15 21:25:50 +00:00
|
|
|
|
|
|
|
warning: could not parse code block as Rust code
|
|
|
|
--> $DIR/invalid-syntax.rs:41:9
|
|
|
|
|
|
|
|
|
LL | /// code with bad syntax
|
|
|
|
| _________^
|
2019-03-13 04:47:36 +00:00
|
|
|
LL | | /// \_
|
2018-12-15 21:25:50 +00:00
|
|
|
| |__________^
|
2019-07-30 10:45:08 +00:00
|
|
|
|
|
|
|
error: unknown start of token: `
|
|
|
|
--> <doctest>:1:1
|
|
|
|
|
|
|
|
|
1 | ```
|
|
|
|
| ^
|
|
|
|
help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
|
|
|
|
|
|
|
|
|
1 | '``
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error: unknown start of token: `
|
|
|
|
--> <doctest>:1:2
|
|
|
|
|
|
|
|
|
1 | ```
|
|
|
|
| ^
|
|
|
|
help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
|
|
|
|
|
|
|
|
|
1 | `'`
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error: unknown start of token: `
|
|
|
|
--> <doctest>:1:3
|
|
|
|
|
|
|
|
|
1 | ```
|
|
|
|
| ^
|
|
|
|
help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
|
|
|
|
|
|
|
|
|
1 | ``'
|
|
|
|
| ^
|
2018-12-15 21:25:50 +00:00
|
|
|
|
|
|
|
warning: could not parse code block as Rust code
|
|
|
|
--> $DIR/invalid-syntax.rs:55:9
|
|
|
|
|
|
|
|
|
LL | /// ```
|
|
|
|
| ^^^
|
2019-07-30 10:45:08 +00:00
|
|
|
|
|
|
|
error: unknown start of token: \
|
|
|
|
--> <doctest>:1:1
|
|
|
|
|
|
|
|
|
1 | \_
|
|
|
|
| ^
|
2018-12-15 21:25:50 +00:00
|
|
|
|
|
|
|
warning: could not parse code block as Rust code
|
|
|
|
--> $DIR/invalid-syntax.rs:58:5
|
|
|
|
|
|
|
|
|
LL | /// ```edition2018
|
|
|
|
| _____^
|
2019-03-13 04:47:36 +00:00
|
|
|
LL | | /// \_
|
2018-12-15 21:25:50 +00:00
|
|
|
LL | | /// ```
|
|
|
|
| |_______^
|
2019-07-30 10:45:08 +00:00
|
|
|
|
|
|
|
error: unknown start of token: \
|
|
|
|
--> <doctest>:1:1
|
|
|
|
|
|
|
|
|
1 | \_
|
|
|
|
| ^
|
2018-12-15 21:25:50 +00:00
|
|
|
|
|
|
|
warning: doc comment contains an invalid Rust code block
|
|
|
|
--> $DIR/invalid-syntax.rs:63:1
|
|
|
|
|
|
|
|
|
LL | / #[doc = "```"]
|
2019-03-13 04:47:36 +00:00
|
|
|
LL | | /// \_
|
2018-12-15 21:25:50 +00:00
|
|
|
LL | | #[doc = "```"]
|
|
|
|
| |______________^
|
|
|
|
|
|
|
|
|
= help: mark blocks that do not contain Rust code as text: ```text
|
2018-09-03 20:24:11 +00:00
|
|
|
|
2019-08-19 14:19:26 +00:00
|
|
|
warning: Rust code block is empty
|
|
|
|
--> $DIR/invalid-syntax.rs:68:5
|
|
|
|
|
|
|
|
|
LL | /// ```rust
|
|
|
|
| _____^
|
|
|
|
LL | | /// ```
|
|
|
|
| |_______^
|
|
|
|
|
|
|
|
warning: Rust code block is empty
|
|
|
|
--> $DIR/invalid-syntax.rs:72:5
|
|
|
|
|
|
|
|
|
LL | /// ```
|
|
|
|
| _____^
|
|
|
|
LL | | ///
|
|
|
|
LL | | ///
|
|
|
|
LL | | /// ```
|
|
|
|
| |_______^
|
|
|
|
help: mark blocks that do not contain Rust code as text
|
|
|
|
|
|
|
|
|
LL | /// ```text
|
|
|
|
| ^^^^^^^
|
|
|
|
|
2019-07-30 10:45:08 +00:00
|
|
|
error: unknown start of token: \
|
|
|
|
--> <rustdoc-highlighting>:1:1
|
|
|
|
|
|
|
|
|
1 | \_
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error: unknown start of token: \
|
|
|
|
--> <rustdoc-highlighting>:1:1
|
|
|
|
|
|
|
|
|
1 | \_
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error: unknown start of token: `
|
|
|
|
--> <rustdoc-highlighting>:1:1
|
|
|
|
|
|
|
|
|
1 | ```
|
|
|
|
| ^
|
|
|
|
help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
|
|
|
|
|
|
|
|
|
1 | '``
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error: unknown start of token: \
|
|
|
|
--> <rustdoc-highlighting>:2:1
|
|
|
|
|
|
|
|
|
2 | \_
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error: unknown start of token: \
|
|
|
|
--> <rustdoc-highlighting>:1:1
|
|
|
|
|
|
|
|
|
1 | \_
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error: unknown start of token: \
|
|
|
|
--> <rustdoc-highlighting>:1:1
|
|
|
|
|
|
|
|
|
1 | \_
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error: unknown start of token: `
|
|
|
|
--> <rustdoc-highlighting>:3:30
|
|
|
|
|
|
|
|
|
3 | | ^^^^^^ did you mean `baz::foobar`?
|
|
|
|
| ^
|
|
|
|
help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
|
|
|
|
|
|
|
|
|
3 | | ^^^^^^ did you mean 'baz::foobar`?
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error: unknown start of token: \
|
|
|
|
--> <rustdoc-highlighting>:1:1
|
|
|
|
|
|
|
|
|
1 | \__________pkt->size___________/ \_result->size_/ \__pkt->size__/
|
|
|
|
| ^
|
|
|
|
|