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