@@ -17,42 +17,42 @@ LL | #[doc(alias("bar"))]
17
17
| ^^^^^^^^^^^^
18
18
19
19
error: '\"' character isn't allowed in `#[doc(alias = "...")]`
20
- --> $DIR/check-doc-alias-attr.rs:10:7
20
+ --> $DIR/check-doc-alias-attr.rs:10:15
21
21
|
22
22
LL | #[doc(alias = "\"")]
23
- | ^^^^^^^^ ^^^^
23
+ | ^^^^
24
24
25
25
error: '\n' character isn't allowed in `#[doc(alias = "...")]`
26
- --> $DIR/check-doc-alias-attr.rs:11:7
26
+ --> $DIR/check-doc-alias-attr.rs:11:15
27
27
|
28
28
LL | #[doc(alias = "\n")]
29
- | ^^^^^^^^ ^^^^
29
+ | ^^^^
30
30
31
31
error: '\n' character isn't allowed in `#[doc(alias = "...")]`
32
- --> $DIR/check-doc-alias-attr.rs:12:7
32
+ --> $DIR/check-doc-alias-attr.rs:12:15
33
33
|
34
34
LL | #[doc(alias = "
35
- | _______ ^
35
+ | _______________ ^
36
36
LL | | ")]
37
37
| |_^
38
38
39
39
error: '\t' character isn't allowed in `#[doc(alias = "...")]`
40
- --> $DIR/check-doc-alias-attr.rs:14:7
40
+ --> $DIR/check-doc-alias-attr.rs:14:15
41
41
|
42
42
LL | #[doc(alias = "\t")]
43
- | ^^^^^^^^ ^^^^
43
+ | ^^^^
44
44
45
45
error: `#[doc(alias = "...")]` cannot start or end with ' '
46
- --> $DIR/check-doc-alias-attr.rs:15:7
46
+ --> $DIR/check-doc-alias-attr.rs:15:15
47
47
|
48
48
LL | #[doc(alias = " hello")]
49
- | ^^^^^^^^ ^^^^^^^^
49
+ | ^^^^^^^^
50
50
51
51
error: `#[doc(alias = "...")]` cannot start or end with ' '
52
- --> $DIR/check-doc-alias-attr.rs:16:7
52
+ --> $DIR/check-doc-alias-attr.rs:16:15
53
53
|
54
54
LL | #[doc(alias = "hello ")]
55
- | ^^^^^^^^ ^^^^^^^^
55
+ | ^^^^^^^^
56
56
57
57
error: aborting due to 9 previous errors
58
58
0 commit comments