]>
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 | | _____^ | |
532ac7d7 | 6 | LL | | /// \__________pkt->size___________/ \_result->size_/ \__pkt->size__/ |
9fa01778 XL |
7 | LL | | /// ``` |
8 | | |_______^ | |
e74abb32 | 9 | | |
dfeec247 XL |
10 | = note: error from rustc: unknown start of token: \ |
11 | = note: error from rustc: unknown start of token: \ | |
12 | = note: error from rustc: unknown start of token: \ | |
9fa01778 XL |
13 | help: mark blocks that do not contain Rust code as text |
14 | | | |
15 | LL | /// ```text | |
16 | | ^^^^^^^ | |
17 | ||
18 | warning: could not parse code block as Rust code | |
60c5eb7d | 19 | --> $DIR/invalid-syntax.rs:9:5 |
9fa01778 XL |
20 | | |
21 | LL | /// ``` | |
22 | | _____^ | |
23 | LL | | /// | | |
24 | LL | | /// LL | use foobar::Baz; | |
25 | LL | | /// | ^^^^^^ did you mean `baz::foobar`? | |
26 | LL | | /// ``` | |
27 | | |_______^ | |
e74abb32 | 28 | | |
dfeec247 XL |
29 | = note: error from rustc: unknown start of token: ` |
30 | = note: error from rustc: unknown start of token: ` | |
9fa01778 XL |
31 | help: mark blocks that do not contain Rust code as text |
32 | | | |
33 | LL | /// ```text | |
34 | | ^^^^^^^ | |
35 | ||
36 | warning: could not parse code block as Rust code | |
60c5eb7d | 37 | --> $DIR/invalid-syntax.rs:21:5 |
9fa01778 XL |
38 | | |
39 | LL | /// ``` | |
40 | | _____^ | |
532ac7d7 | 41 | LL | | /// \_ |
9fa01778 XL |
42 | LL | | /// ``` |
43 | | |_______^ | |
e74abb32 | 44 | | |
dfeec247 | 45 | = note: error from rustc: unknown start of token: \ |
9fa01778 XL |
46 | help: mark blocks that do not contain Rust code as text |
47 | | | |
48 | LL | /// ```text | |
49 | | ^^^^^^^ | |
50 | ||
51 | warning: could not parse code block as Rust code | |
60c5eb7d | 52 | --> $DIR/invalid-syntax.rs:35:5 |
9fa01778 XL |
53 | | |
54 | LL | /// ```rust | |
55 | | _____^ | |
532ac7d7 | 56 | LL | | /// \_ |
9fa01778 XL |
57 | LL | | /// ``` |
58 | | |_______^ | |
dfeec247 XL |
59 | | |
60 | = note: error from rustc: unknown start of token: \ | |
9fa01778 XL |
61 | |
62 | warning: could not parse code block as Rust code | |
60c5eb7d | 63 | --> $DIR/invalid-syntax.rs:45:9 |
9fa01778 XL |
64 | | |
65 | LL | /// code with bad syntax | |
66 | | _________^ | |
532ac7d7 | 67 | LL | | /// \_ |
9fa01778 | 68 | | |__________^ |
dfeec247 XL |
69 | | |
70 | = note: error from rustc: unknown start of token: \ | |
9fa01778 XL |
71 | |
72 | warning: could not parse code block as Rust code | |
60c5eb7d | 73 | --> $DIR/invalid-syntax.rs:60:9 |
9fa01778 XL |
74 | | |
75 | LL | /// ``` | |
76 | | ^^^ | |
dfeec247 XL |
77 | | |
78 | = note: error from rustc: unknown start of token: ` | |
79 | = note: error from rustc: unknown start of token: ` | |
80 | = note: error from rustc: unknown start of token: ` | |
9fa01778 XL |
81 | |
82 | warning: could not parse code block as Rust code | |
60c5eb7d | 83 | --> $DIR/invalid-syntax.rs:64:5 |
9fa01778 XL |
84 | | |
85 | LL | /// ```edition2018 | |
86 | | _____^ | |
532ac7d7 | 87 | LL | | /// \_ |
9fa01778 XL |
88 | LL | | /// ``` |
89 | | |_______^ | |
dfeec247 XL |
90 | | |
91 | = note: error from rustc: unknown start of token: \ | |
9fa01778 XL |
92 | |
93 | warning: doc comment contains an invalid Rust code block | |
60c5eb7d | 94 | --> $DIR/invalid-syntax.rs:70:1 |
9fa01778 XL |
95 | | |
96 | LL | / #[doc = "```"] | |
532ac7d7 | 97 | LL | | /// \_ |
9fa01778 XL |
98 | LL | | #[doc = "```"] |
99 | | |______________^ | |
100 | | | |
101 | = help: mark blocks that do not contain Rust code as text: ```text | |
dfeec247 | 102 | = note: error from rustc: unknown start of token: \ |
0bf4aa26 | 103 | |
e1599b0c | 104 | warning: Rust code block is empty |
60c5eb7d | 105 | --> $DIR/invalid-syntax.rs:76:5 |
e1599b0c XL |
106 | | |
107 | LL | /// ```rust | |
108 | | _____^ | |
109 | LL | | /// ``` | |
110 | | |_______^ | |
111 | ||
112 | warning: Rust code block is empty | |
60c5eb7d | 113 | --> $DIR/invalid-syntax.rs:81:5 |
e1599b0c XL |
114 | | |
115 | LL | /// ``` | |
116 | | _____^ | |
117 | LL | | /// | |
118 | LL | | /// | |
119 | LL | | /// ``` | |
120 | | |_______^ | |
e74abb32 | 121 | | |
e1599b0c XL |
122 | help: mark blocks that do not contain Rust code as text |
123 | | | |
124 | LL | /// ```text | |
125 | | ^^^^^^^ | |
126 | ||
e1599b0c | 127 | warning: could not parse code block as Rust code |
60c5eb7d | 128 | --> $DIR/invalid-syntax.rs:92:9 |
e1599b0c | 129 | | |
5869c6ff XL |
130 | LL | /// \____/ |
131 | | _________^ | |
132 | LL | | /// | |
133 | | |_ | |
dfeec247 XL |
134 | | |
135 | = note: error from rustc: unknown start of token: \ | |
136 | ||
137 | warning: could not parse code block as Rust code | |
138 | --> $DIR/invalid-syntax.rs:97:5 | |
139 | | | |
140 | LL | /// ``` | |
141 | | _____^ | |
142 | LL | | /// "invalid | |
143 | LL | | /// ``` | |
144 | | |_______^ | |
145 | | | |
146 | = note: error from rustc: unterminated double quote string | |
147 | help: mark blocks that do not contain Rust code as text | |
148 | | | |
149 | LL | /// ```text | |
150 | | ^^^^^^^ | |
e1599b0c | 151 | |
ba9703b0 XL |
152 | warning: 12 warnings emitted |
153 |