@@ -3,35 +3,33 @@ error: couldn't read $DIR/not-a-file.md: $FILE_NOT_FOUND_MSG (os error 2)
3
3
|
4
4
LL | #[doc(include = "not-a-file.md")]
5
5
| ^^^^^^^^^^^^^^^ couldn't read file
6
- |
7
- = help: external doc paths are relative to the crate root
8
6
9
7
error: $DIR/auxiliary/invalid-utf8.txt wasn't a utf-8 file
10
- --> $DIR/external-doc-error.rs:9 :17
8
+ --> $DIR/external-doc-error.rs:8 :17
11
9
|
12
10
LL | #[doc(include = "auxiliary/invalid-utf8.txt")]
13
11
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ contains invalid utf-8
14
12
15
13
error: expected path to external documentation
16
- --> $DIR/external-doc-error.rs:12 :7
14
+ --> $DIR/external-doc-error.rs:11 :7
17
15
|
18
16
LL | #[doc(include)]
19
17
| ^^^^^^^ help: provide a file path with `=`: `include = "<path>"`
20
18
21
19
error: expected path to external documentation
22
- --> $DIR/external-doc-error.rs:17 :7
20
+ --> $DIR/external-doc-error.rs:16 :7
23
21
|
24
22
LL | #[doc(include("../README.md"))]
25
23
| ^^^^^^^^^^^^^^^^^^^^^^^ help: provide a file path with `=`: `include = "../README.md"`
26
24
27
25
error: expected path to external documentation
28
- --> $DIR/external-doc-error.rs:22 :7
26
+ --> $DIR/external-doc-error.rs:21 :7
29
27
|
30
28
LL | #[doc(include = 123)]
31
29
| ^^^^^^^^^^^^^ help: provide a file path with `=`: `include = "<path>"`
32
30
33
31
error: expected path to external documentation
34
- --> $DIR/external-doc-error.rs:27 :7
32
+ --> $DIR/external-doc-error.rs:26 :7
35
33
|
36
34
LL | #[doc(include(123))]
37
35
| ^^^^^^^^^^^^ help: provide a file path with `=`: `include = "<path>"`
0 commit comments