Skip to content

Commit 87a354b

Browse files
NoratriebadrianEffe
andcommitted
Bless rustdoc-ui tests
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
1 parent 41e8d15 commit 87a354b

File tree

64 files changed

+64
-64
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+64
-64
lines changed

tests/rustdoc-ui/bounded-hr-lifetime.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ error: lifetime bounds cannot be used in this context
44
LL | for<'a: 'b + 'c> &'a (): std::fmt::Debug,
55
| ^^ ^^
66

7-
error: aborting due to previous error
7+
error: aborting due to 1 previous error
88

tests/rustdoc-ui/const-evalutation-ice.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ error[E0080]: evaluation of constant value failed
44
LL | pub const N: usize = 0 - (mem::size_of::<S>() != 400) as usize;
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `0_usize - 1_usize`, which would overflow
66

7-
error: aborting due to previous error
7+
error: aborting due to 1 previous error
88

99
For more information about this error, try `rustc --explain E0080`.

tests/rustdoc-ui/const_arg_in_type_position.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ error[E0747]: constant provided when a type was expected
44
LL | fn foo<const N: usize>() -> Array<N, ()> {
55
| ^
66

7-
error: aborting due to previous error
7+
error: aborting due to 1 previous error
88

99
For more information about this error, try `rustc --explain E0747`.

tests/rustdoc-ui/diagnostic-width.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ note: the lint level is defined here
1111
LL | ...ny(rustdoc::bare_url...
1212
| ^^^^^^^^^^^^^^^^^^
1313

14-
error: aborting due to previous error
14+
error: aborting due to 1 previous error
1515

tests/rustdoc-ui/doc-alias-assoc-const.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ error: `#[doc(alias = "...")]` isn't allowed on associated constant in trait imp
44
LL | #[doc(alias = "CONST_BAZ")]
55
| ^^^^^^^^^^^^^^^^^^^
66

7-
error: aborting due to previous error
7+
error: aborting due to 1 previous error
88

tests/rustdoc-ui/doc-alias-same-name.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ error: `#[doc(alias = "...")]` is the same as the item's name
44
LL | #[doc(alias = "Foo")]
55
| ^^^^^^^^^^^^^
66

7-
error: aborting due to previous error
7+
error: aborting due to 1 previous error
88

tests/rustdoc-ui/doctest/doctest-edition.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ help: mark blocks that do not contain Rust code as text
1818
LL | //! ```text
1919
| ++++
2020

21-
error: aborting due to previous error
21+
error: aborting due to 1 previous error
2222

tests/rustdoc-ui/doctest/failed-doctest-extra-semicolon-on-item.stdout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ LL | struct S {}; // unexpected semicolon after struct def
1313
|
1414
= help: braced struct declarations are not followed by a semicolon
1515

16-
error: aborting due to previous error
16+
error: aborting due to 1 previous error
1717

1818
Couldn't compile the test.
1919

tests/rustdoc-ui/doctest/failed-doctest-missing-codes.stdout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ LL | let x: () = 5i32;
1313
| |
1414
| expected due to this
1515

16-
error: aborting due to previous error
16+
error: aborting due to 1 previous error
1717

1818
For more information about this error, try `rustc --explain E0308`.
1919
Some expected error codes were not found: ["E0004"]

tests/rustdoc-ui/doctest/failed-doctest-output.stdout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ error[E0425]: cannot find value `no` in this scope
1212
LL | no
1313
| ^^ not found in this scope
1414

15-
error: aborting due to previous error
15+
error: aborting due to 1 previous error
1616

1717
For more information about this error, try `rustc --explain E0425`.
1818
Couldn't compile the test.

0 commit comments

Comments
 (0)