Skip to content

Commit

Permalink
bless rustdoc-ui tests
Browse files Browse the repository at this point in the history
  • Loading branch information
klensy committed Jun 12, 2022
1 parent 072112e commit fbb6636
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions src/test/rustdoc-ui/intra-doc/disambiguator-mismatch.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ help: to link to the macro, add an exclamation mark
|
LL - /// Link to [derive@m]
LL + /// Link to [m!]
|
|

error: unresolved link to `m`
--> $DIR/disambiguator-mismatch.rs:46:14
Expand Down Expand Up @@ -124,7 +124,7 @@ help: to link to the constant, prefix with `const@`
|
LL - /// Link to [c()]
LL + /// Link to [const@c]
|
|

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

error: unresolved link to `std`
--> $DIR/disambiguator-mismatch.rs:77:14
Expand Down
8 changes: 4 additions & 4 deletions src/test/rustdoc-ui/intra-doc/errors.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ help: to link to the associated function, add parentheses
|
LL - /// [type@Vec::into_iter]
LL + /// [Vec::into_iter()]
|
|

error: unresolved link to `S`
--> $DIR/errors.rs:68:6
Expand All @@ -110,7 +110,7 @@ help: to link to the struct, prefix with `struct@`
|
LL - /// [S!]
LL + /// [struct@S]
|
|

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

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

error: unresolved link to `T::h`
--> $DIR/errors.rs:91:6
Expand Down
2 changes: 1 addition & 1 deletion src/test/rustdoc-ui/test-compile-fail1.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ error[E0428]: the name `f` is defined multiple times
|
6 | pub fn f() {}
| ---------- previous definition of the value `f` here
7 |
7 |
8 | pub fn f() {}
| ^^^^^^^^^^ `f` redefined here
|
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/argument-suggestions/issue-97484.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ help: consider removing the ``
|
LL - foo(&&A, B, C, D, E, F, G);
LL + foo(&&A, B, C, D, E, F, G);
|
|
help: remove the extra arguments
|
LL | foo(&&A, D, {&E}, G);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ help: add `dyn` keyword before this trait
|
LL - impl<'a, T> Struct<T> for Trait<'a, T> {}
LL + impl<'a, T> Struct<T> for dyn Trait<'a, T> {}
|
|

error: aborting due to 4 previous errors

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ help: use `dyn`
|
LL - impl<'a, T> Struct<T> for Trait<'a, T> {}
LL + impl<'a, T> Struct<T> for dyn Trait<'a, T> {}
|
|

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

Expand Down

0 comments on commit fbb6636

Please sign in to comment.