]> git.proxmox.com Git - rustc.git/blame - src/test/rustdoc-ui/invalid-syntax.stderr
New upstream version 1.34.2+dfsg1
[rustc.git] / src / test / rustdoc-ui / invalid-syntax.stderr
CommitLineData
9fa01778
XL
1warning: could not parse code block as Rust code
2 --> $DIR/invalid-syntax.rs:3:5
3 |
4LL | /// ```
5 | _____^
6LL | | /// /__________pkt->size___________/ /_result->size_/ /__pkt->size__/
7LL | | /// ```
8 | |_______^
9 |
10 = note: error from rustc: unknown start of token: /
11help: mark blocks that do not contain Rust code as text
12 |
13LL | /// ```text
14 | ^^^^^^^
15
16warning: could not parse code block as Rust code
17 --> $DIR/invalid-syntax.rs:8:5
18 |
19LL | /// ```
20 | _____^
21LL | | /// |
22LL | | /// LL | use foobar::Baz;
23LL | | /// | ^^^^^^ did you mean `baz::foobar`?
24LL | | /// ```
25 | |_______^
26 |
27 = note: error from rustc: unknown start of token: `
28help: mark blocks that do not contain Rust code as text
29 |
30LL | /// ```text
31 | ^^^^^^^
32
33warning: could not parse code block as Rust code
34 --> $DIR/invalid-syntax.rs:19:5
35 |
36LL | /// ```
37 | _____^
38LL | | /// /_
39LL | | /// ```
40 | |_______^
41 |
42 = note: error from rustc: unknown start of token: /
43help: mark blocks that do not contain Rust code as text
44 |
45LL | /// ```text
46 | ^^^^^^^
47
48warning: could not parse code block as Rust code
49 --> $DIR/invalid-syntax.rs:32:5
50 |
51LL | /// ```rust
52 | _____^
53LL | | /// /_
54LL | | /// ```
55 | |_______^
56 |
57 = note: error from rustc: unknown start of token: /
58
59warning: could not parse code block as Rust code
60 --> $DIR/invalid-syntax.rs:41:9
61 |
62LL | /// code with bad syntax
63 | _________^
64LL | | /// /_
65 | |__________^
66 |
67 = note: error from rustc: unknown start of token: /
68
69warning: could not parse code block as Rust code
70 --> $DIR/invalid-syntax.rs:55:9
71 |
72LL | /// ```
73 | ^^^
74 |
75 = note: error from rustc: unknown start of token: `
76
77warning: could not parse code block as Rust code
78 --> $DIR/invalid-syntax.rs:58:5
79 |
80LL | /// ```edition2018
81 | _____^
82LL | | /// /_
83LL | | /// ```
84 | |_______^
85 |
86 = note: error from rustc: unknown start of token: /
87
88warning: doc comment contains an invalid Rust code block
89 --> $DIR/invalid-syntax.rs:63:1
90 |
91LL | / #[doc = "```"]
92LL | | /// /_
93LL | | #[doc = "```"]
94 | |______________^
95 |
96 = help: mark blocks that do not contain Rust code as text: ```text
0bf4aa26 97