fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
2.8 KiB108 linesraw
1error: doc alias attribute expects a string `#[doc(alias = "a")]` or a list of strings `#[doc(alias("a", "b"))]`
2  --> $DIR/check-doc-alias-attr.rs:7:7
3   |
4LL | #[doc(alias)]
5   |       ^^^^^
6
7error: doc alias attribute expects a string `#[doc(alias = "a")]` or a list of strings `#[doc(alias("a", "b"))]`
8  --> $DIR/check-doc-alias-attr.rs:8:7
9   |
10LL | #[doc(alias = 0)]
11   |       ^^^^^^^^^
12
13error: '"' character isn't allowed in `#[doc(alias = "...")]`
14  --> $DIR/check-doc-alias-attr.rs:9:15
15   |
16LL | #[doc(alias = "\"")]
17   |               ^^^^
18
19error: '\n' character isn't allowed in `#[doc(alias = "...")]`
20  --> $DIR/check-doc-alias-attr.rs:10:15
21   |
22LL | #[doc(alias = "\n")]
23   |               ^^^^
24
25error: '\n' character isn't allowed in `#[doc(alias = "...")]`
26  --> $DIR/check-doc-alias-attr.rs:11:15
27   |
28LL |   #[doc(alias = "
29   |  _______________^
30LL | | ")]
31   | |_^
32
33error: '\t' character isn't allowed in `#[doc(alias = "...")]`
34  --> $DIR/check-doc-alias-attr.rs:13:15
35   |
36LL | #[doc(alias = "\t")]
37   |               ^^^^
38
39error: `#[doc(alias = "...")]` cannot start or end with ' '
40  --> $DIR/check-doc-alias-attr.rs:14:15
41   |
42LL | #[doc(alias = " hello")]
43   |               ^^^^^^^^
44
45error: `#[doc(alias = "...")]` cannot start or end with ' '
46  --> $DIR/check-doc-alias-attr.rs:15:15
47   |
48LL | #[doc(alias = "hello ")]
49   |               ^^^^^^^^
50
51error: `#[doc(alias = "...")]` attribute cannot have empty value
52  --> $DIR/check-doc-alias-attr.rs:16:15
53   |
54LL | #[doc(alias = "")]
55   |               ^^
56
57error: `#[doc(alias("a"))]` expects string literals
58  --> $DIR/check-doc-alias-attr.rs:19:13
59   |
60LL | #[doc(alias(0))]
61   |             ^
62
63error: '"' character isn't allowed in `#[doc(alias("..."))]`
64  --> $DIR/check-doc-alias-attr.rs:20:13
65   |
66LL | #[doc(alias("\""))]
67   |             ^^^^
68
69error: '\n' character isn't allowed in `#[doc(alias("..."))]`
70  --> $DIR/check-doc-alias-attr.rs:21:13
71   |
72LL | #[doc(alias("\n"))]
73   |             ^^^^
74
75error: '\n' character isn't allowed in `#[doc(alias("..."))]`
76  --> $DIR/check-doc-alias-attr.rs:22:13
77   |
78LL |   #[doc(alias("
79   |  _____________^
80LL | | "))]
81   | |_^
82
83error: '\t' character isn't allowed in `#[doc(alias("..."))]`
84  --> $DIR/check-doc-alias-attr.rs:24:13
85   |
86LL | #[doc(alias("\t"))]
87   |             ^^^^
88
89error: `#[doc(alias("..."))]` cannot start or end with ' '
90  --> $DIR/check-doc-alias-attr.rs:25:13
91   |
92LL | #[doc(alias(" hello"))]
93   |             ^^^^^^^^
94
95error: `#[doc(alias("..."))]` cannot start or end with ' '
96  --> $DIR/check-doc-alias-attr.rs:26:13
97   |
98LL | #[doc(alias("hello "))]
99   |             ^^^^^^^^
100
101error: `#[doc(alias("..."))]` attribute cannot have empty value
102  --> $DIR/check-doc-alias-attr.rs:27:13
103   |
104LL | #[doc(alias(""))]
105   |             ^^
106
107error: aborting due to 17 previous errors
108