]> git.lizzy.rs Git - rust.git/blob - src/test/ui/check-doc-alias-attr.stderr
Rollup merge of #82431 - Aaron1011:fix/bug-env, r=jyn514
[rust.git] / src / test / ui / check-doc-alias-attr.stderr
1 error: doc alias attribute expects a string: #[doc(alias = "a")]
2   --> $DIR/check-doc-alias-attr.rs:6:7
3    |
4 LL | #[doc(alias)]
5    |       ^^^^^
6
7 error: doc alias attribute expects a string: #[doc(alias = "a")]
8   --> $DIR/check-doc-alias-attr.rs:7:7
9    |
10 LL | #[doc(alias = 0)]
11    |       ^^^^^^^^^
12
13 error: doc alias attribute expects a string: #[doc(alias = "a")]
14   --> $DIR/check-doc-alias-attr.rs:8:7
15    |
16 LL | #[doc(alias("bar"))]
17    |       ^^^^^^^^^^^^
18
19 error: '\"' character isn't allowed in `#[doc(alias = "...")]`
20   --> $DIR/check-doc-alias-attr.rs:9:15
21    |
22 LL | #[doc(alias = "\"")]
23    |               ^^^^
24
25 error: '\n' character isn't allowed in `#[doc(alias = "...")]`
26   --> $DIR/check-doc-alias-attr.rs:10:15
27    |
28 LL | #[doc(alias = "\n")]
29    |               ^^^^
30
31 error: '\n' character isn't allowed in `#[doc(alias = "...")]`
32   --> $DIR/check-doc-alias-attr.rs:11:15
33    |
34 LL |   #[doc(alias = "
35    |  _______________^
36 LL | | ")]
37    | |_^
38
39 error: '\t' character isn't allowed in `#[doc(alias = "...")]`
40   --> $DIR/check-doc-alias-attr.rs:13:15
41    |
42 LL | #[doc(alias = "\t")]
43    |               ^^^^
44
45 error: `#[doc(alias = "...")]` cannot start or end with ' '
46   --> $DIR/check-doc-alias-attr.rs:14:15
47    |
48 LL | #[doc(alias = " hello")]
49    |               ^^^^^^^^
50
51 error: `#[doc(alias = "...")]` cannot start or end with ' '
52   --> $DIR/check-doc-alias-attr.rs:15:15
53    |
54 LL | #[doc(alias = "hello ")]
55    |               ^^^^^^^^
56
57 error: aborting due to 9 previous errors
58