Skip to content

Commit 449ad04

Browse files
committed
bless rustdoc-ui tests
1 parent 68ea8ff commit 449ad04

6 files changed

+11
-11
lines changed

src/test/rustdoc-ui/intra-doc/disambiguator-mismatch.stderr

+3-3
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ help: to link to the macro, add an exclamation mark
6868
|
6969
LL - /// Link to [derive@m]
7070
LL + /// Link to [m!]
71-
|
71+
|
7272

7373
error: unresolved link to `m`
7474
--> $DIR/disambiguator-mismatch.rs:46:14
@@ -124,7 +124,7 @@ help: to link to the constant, prefix with `const@`
124124
|
125125
LL - /// Link to [c()]
126126
LL + /// Link to [const@c]
127-
|
127+
|
128128

129129
error: incompatible link kind for `f`
130130
--> $DIR/disambiguator-mismatch.rs:72:14
@@ -136,7 +136,7 @@ help: to link to the function, add parentheses
136136
|
137137
LL - /// Link to [const@f]
138138
LL + /// Link to [f()]
139-
|
139+
|
140140

141141
error: unresolved link to `std`
142142
--> $DIR/disambiguator-mismatch.rs:77:14

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ help: to link to the associated function, add parentheses
9898
|
9999
LL - /// [type@Vec::into_iter]
100100
LL + /// [Vec::into_iter()]
101-
|
101+
|
102102

103103
error: unresolved link to `S`
104104
--> $DIR/errors.rs:68:6
@@ -110,7 +110,7 @@ help: to link to the struct, prefix with `struct@`
110110
|
111111
LL - /// [S!]
112112
LL + /// [struct@S]
113-
|
113+
|
114114

115115
error: unresolved link to `S::h`
116116
--> $DIR/errors.rs:78:6
@@ -122,7 +122,7 @@ help: to link to the associated function, add parentheses
122122
|
123123
LL - /// [type@S::h]
124124
LL + /// [S::h()]
125-
|
125+
|
126126

127127
error: unresolved link to `T::g`
128128
--> $DIR/errors.rs:86:6
@@ -134,7 +134,7 @@ help: to link to the associated function, add parentheses
134134
|
135135
LL - /// [type@T::g]
136136
LL + /// [T::g()]
137-
|
137+
|
138138

139139
error: unresolved link to `T::h`
140140
--> $DIR/errors.rs:91:6

src/test/rustdoc-ui/test-compile-fail1.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ error[E0428]: the name `f` is defined multiple times
33
|
44
6 | pub fn f() {}
55
| ---------- previous definition of the value `f` here
6-
7 |
6+
7 |
77
8 | pub fn f() {}
88
| ^^^^^^^^^^ `f` redefined here
99
|

src/test/ui/argument-suggestions/issue-97484.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ help: consider removing the ``
1616
|
1717
LL - foo(&&A, B, C, D, E, F, G);
1818
LL + foo(&&A, B, C, D, E, F, G);
19-
|
19+
|
2020
help: remove the extra arguments
2121
|
2222
LL | foo(&&A, D, {&E}, G);

src/test/ui/suggestions/suggest-swapping-self-ty-and-trait-edition-2021.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ help: add `dyn` keyword before this trait
4141
|
4242
LL - impl<'a, T> Struct<T> for Trait<'a, T> {}
4343
LL + impl<'a, T> Struct<T> for dyn Trait<'a, T> {}
44-
|
44+
|
4545

4646
error: aborting due to 4 previous errors
4747

src/test/ui/suggestions/suggest-swapping-self-ty-and-trait.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ help: use `dyn`
4444
|
4545
LL - impl<'a, T> Struct<T> for Trait<'a, T> {}
4646
LL + impl<'a, T> Struct<T> for dyn Trait<'a, T> {}
47-
|
47+
|
4848

4949
error: aborting due to 3 previous errors; 1 warning emitted
5050

0 commit comments

Comments
 (0)