about summary refs log tree commit diff
path: root/tests/rustdoc-ui/custom_code_classes_in_docs-warning.stderr
blob: f19b62914dbfb90136adf15934f6c8dec3844499 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
error: missing class name after `.`
  --> $DIR/custom_code_classes_in_docs-warning.rs:9:1
   |
LL | / /// ```{. class= whatever=hehe #id} } {{
LL | | /// main;
LL | | /// ```
   | |_______^
   |
note: the lint level is defined here
  --> $DIR/custom_code_classes_in_docs-warning.rs:5:9
   |
LL | #![deny(warnings)]
   |         ^^^^^^^^
   = note: `#[deny(rustdoc::invalid_codeblock_attributes)]` implied by `#[deny(warnings)]`

error: missing class name after `class=`
  --> $DIR/custom_code_classes_in_docs-warning.rs:9:1
   |
LL | / /// ```{. class= whatever=hehe #id} } {{
LL | | /// main;
LL | | /// ```
   | |_______^

error: unsupported attribute `whatever=hehe`
  --> $DIR/custom_code_classes_in_docs-warning.rs:9:1
   |
LL | / /// ```{. class= whatever=hehe #id} } {{
LL | | /// main;
LL | | /// ```
   | |_______^

error: unsupported attribute `#id`
  --> $DIR/custom_code_classes_in_docs-warning.rs:9:1
   |
LL | / /// ```{. class= whatever=hehe #id} } {{
LL | | /// main;
LL | | /// ```
   | |_______^

error: unexpected `}` outside attribute block (`{}`)
  --> $DIR/custom_code_classes_in_docs-warning.rs:9:1
   |
LL | / /// ```{. class= whatever=hehe #id} } {{
LL | | /// main;
LL | | /// ```
   | |_______^

error: unexpected `{` inside attribute block (`{}`)
  --> $DIR/custom_code_classes_in_docs-warning.rs:9:1
   |
LL | / /// ```{. class= whatever=hehe #id} } {{
LL | | /// main;
LL | | /// ```
   | |_______^

error: unclosed attribute block (`{}`): missing `}` at the end
  --> $DIR/custom_code_classes_in_docs-warning.rs:9:1
   |
LL | / /// ```{. class= whatever=hehe #id} } {{
LL | | /// main;
LL | | /// ```
   | |_______^

error: aborting due to 7 previous errors