Skip to content

Commit 8318a18

Browse files
committed
x.py bless
1 parent efdc3fa commit 8318a18

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/test/rustdoc-ui/intra-link-errors.stderr

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: unresolved link to `path::to::nonexistent::module`
2-
--> $DIR/intra-link-errors.rs:8:6
2+
--> $DIR/intra-link-errors.rs:7:6
33
|
44
LL | /// [path::to::nonexistent::module]
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -12,103 +12,103 @@ LL | #![deny(broken_intra_doc_links)]
1212
= note: no item named `path` is in scope
1313

1414
error: unresolved link to `std::io::not::here`
15-
--> $DIR/intra-link-errors.rs:12:6
15+
--> $DIR/intra-link-errors.rs:11:6
1616
|
1717
LL | /// [std::io::not::here]
1818
| ^^^^^^^^^^^^^^^^^^
1919
|
2020
= note: the module `io` has no inner item named `not`
2121

2222
error: unresolved link to `std::io::Error::x`
23-
--> $DIR/intra-link-errors.rs:16:6
23+
--> $DIR/intra-link-errors.rs:15:6
2424
|
2525
LL | /// [std::io::Error::x]
2626
| ^^^^^^^^^^^^^^^^^
2727
|
2828
= note: the struct `Error` has no field or associated item named `x`
2929

3030
error: unresolved link to `std::io::ErrorKind::x`
31-
--> $DIR/intra-link-errors.rs:20:6
31+
--> $DIR/intra-link-errors.rs:19:6
3232
|
3333
LL | /// [std::io::ErrorKind::x]
3434
| ^^^^^^^^^^^^^^^^^^^^^
3535
|
3636
= note: the enum `ErrorKind` has no variant or associated item named `x`
3737

3838
error: unresolved link to `f::A`
39-
--> $DIR/intra-link-errors.rs:24:6
39+
--> $DIR/intra-link-errors.rs:23:6
4040
|
4141
LL | /// [f::A]
4242
| ^^^^
4343
|
4444
= note: `f` is a function, not a module or type, and cannot have associated items
4545

4646
error: unresolved link to `S::A`
47-
--> $DIR/intra-link-errors.rs:28:6
47+
--> $DIR/intra-link-errors.rs:27:6
4848
|
4949
LL | /// [S::A]
5050
| ^^^^
5151
|
5252
= note: the struct `S` has no field or associated item named `A`
5353

5454
error: unresolved link to `S::fmt`
55-
--> $DIR/intra-link-errors.rs:32:6
55+
--> $DIR/intra-link-errors.rs:31:6
5656
|
5757
LL | /// [S::fmt]
5858
| ^^^^^^
5959
|
6060
= note: the struct `S` has no field or associated item named `fmt`
6161

6262
error: unresolved link to `E::D`
63-
--> $DIR/intra-link-errors.rs:36:6
63+
--> $DIR/intra-link-errors.rs:35:6
6464
|
6565
LL | /// [E::D]
6666
| ^^^^
6767
|
6868
= note: the enum `E` has no variant or associated item named `D`
6969

7070
error: unresolved link to `u8::not_found`
71-
--> $DIR/intra-link-errors.rs:40:6
71+
--> $DIR/intra-link-errors.rs:39:6
7272
|
7373
LL | /// [u8::not_found]
7474
| ^^^^^^^^^^^^^
7575
|
7676
= note: the builtin type `u8` does not have an associated item named `not_found`
7777

7878
error: unresolved link to `S`
79-
--> $DIR/intra-link-errors.rs:44:6
79+
--> $DIR/intra-link-errors.rs:43:6
8080
|
8181
LL | /// [S!]
8282
| ^^ help: to link to the struct, prefix with `struct@`: `struct@S`
8383
|
8484
= note: this link resolves to the struct `S`, which is not in the macro namespace
8585

8686
error: unresolved link to `T::g`
87-
--> $DIR/intra-link-errors.rs:62:6
87+
--> $DIR/intra-link-errors.rs:61:6
8888
|
8989
LL | /// [type@T::g]
9090
| ^^^^^^^^^ help: to link to the associated function, add parentheses: `T::g()`
9191
|
9292
= note: this link resolves to the associated function `g`, which is not in the type namespace
9393

9494
error: unresolved link to `T::h`
95-
--> $DIR/intra-link-errors.rs:67:6
95+
--> $DIR/intra-link-errors.rs:66:6
9696
|
9797
LL | /// [T::h!]
9898
| ^^^^^
9999
|
100100
= note: the trait `T` has no macro named `h`
101101

102102
error: unresolved link to `S::h`
103-
--> $DIR/intra-link-errors.rs:54:6
103+
--> $DIR/intra-link-errors.rs:53:6
104104
|
105105
LL | /// [type@S::h]
106106
| ^^^^^^^^^ help: to link to the associated function, add parentheses: `S::h()`
107107
|
108108
= note: this link resolves to the associated function `h`, which is not in the type namespace
109109

110110
error: unresolved link to `m`
111-
--> $DIR/intra-link-errors.rs:74:6
111+
--> $DIR/intra-link-errors.rs:73:6
112112
|
113113
LL | /// [m()]
114114
| ^^^ help: to link to the macro, add an exclamation mark: `m!`

0 commit comments

Comments
 (0)