diff options
| author | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2023-11-21 15:44:16 +0000 |
|---|---|---|
| committer | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2023-11-24 19:15:52 +0100 |
| commit | 41e8d152dc5abb5a706999ada8b059d3420af8f3 (patch) | |
| tree | 2dae41c4e26e0195b5bd3472beac0445c8014915 /tests/ui/rustdoc | |
| parent | 4fd68eb47bad1c121417ac4450b2f0456150db86 (diff) | |
| download | rust-41e8d152dc5abb5a706999ada8b059d3420af8f3.tar.gz rust-41e8d152dc5abb5a706999ada8b059d3420af8f3.zip | |
Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
Diffstat (limited to 'tests/ui/rustdoc')
| -rw-r--r-- | tests/ui/rustdoc/cfg-rustdoc.stderr | 2 | ||||
| -rw-r--r-- | tests/ui/rustdoc/deny-invalid-doc-attrs.stderr | 2 | ||||
| -rw-r--r-- | tests/ui/rustdoc/doc-alias-same-name.stderr | 2 | ||||
| -rw-r--r-- | tests/ui/rustdoc/doc-inline-extern-crate.stderr | 2 | ||||
| -rw-r--r-- | tests/ui/rustdoc/doc-primitive.stderr | 2 | ||||
| -rw-r--r-- | tests/ui/rustdoc/feature-gate-doc_primitive.stderr | 2 | ||||
| -rw-r--r-- | tests/ui/rustdoc/unterminated-doc-comment.stderr | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/tests/ui/rustdoc/cfg-rustdoc.stderr b/tests/ui/rustdoc/cfg-rustdoc.stderr index c687d186989..340a8e22482 100644 --- a/tests/ui/rustdoc/cfg-rustdoc.stderr +++ b/tests/ui/rustdoc/cfg-rustdoc.stderr @@ -4,6 +4,6 @@ error[E0425]: cannot find value `Foo` in this scope LL | let f = Foo; | ^^^ not found in this scope -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0425`. diff --git a/tests/ui/rustdoc/deny-invalid-doc-attrs.stderr b/tests/ui/rustdoc/deny-invalid-doc-attrs.stderr index e9a4c1dd52f..bf104f48be0 100644 --- a/tests/ui/rustdoc/deny-invalid-doc-attrs.stderr +++ b/tests/ui/rustdoc/deny-invalid-doc-attrs.stderr @@ -12,5 +12,5 @@ note: the lint level is defined here LL | #![deny(invalid_doc_attributes)] | ^^^^^^^^^^^^^^^^^^^^^^ -error: aborting due to previous error +error: aborting due to 1 previous error diff --git a/tests/ui/rustdoc/doc-alias-same-name.stderr b/tests/ui/rustdoc/doc-alias-same-name.stderr index 5ba09a2eae1..a9da75c0171 100644 --- a/tests/ui/rustdoc/doc-alias-same-name.stderr +++ b/tests/ui/rustdoc/doc-alias-same-name.stderr @@ -4,5 +4,5 @@ error: `#[doc(alias = "...")]` is the same as the item's name LL | #[doc(alias = "Foo")] | ^^^^^^^^^^^^^ -error: aborting due to previous error +error: aborting due to 1 previous error diff --git a/tests/ui/rustdoc/doc-inline-extern-crate.stderr b/tests/ui/rustdoc/doc-inline-extern-crate.stderr index 41518295b12..df0c4cb6b63 100644 --- a/tests/ui/rustdoc/doc-inline-extern-crate.stderr +++ b/tests/ui/rustdoc/doc-inline-extern-crate.stderr @@ -9,5 +9,5 @@ LL | #[doc(no_inline)] | = help: remove one of the conflicting attributes -error: aborting due to previous error +error: aborting due to 1 previous error diff --git a/tests/ui/rustdoc/doc-primitive.stderr b/tests/ui/rustdoc/doc-primitive.stderr index d61eb381647..5f535206d26 100644 --- a/tests/ui/rustdoc/doc-primitive.stderr +++ b/tests/ui/rustdoc/doc-primitive.stderr @@ -12,5 +12,5 @@ note: the lint level is defined here LL | #![deny(invalid_doc_attributes)] | ^^^^^^^^^^^^^^^^^^^^^^ -error: aborting due to previous error +error: aborting due to 1 previous error diff --git a/tests/ui/rustdoc/feature-gate-doc_primitive.stderr b/tests/ui/rustdoc/feature-gate-doc_primitive.stderr index 5920880675d..0f5665f1fb9 100644 --- a/tests/ui/rustdoc/feature-gate-doc_primitive.stderr +++ b/tests/ui/rustdoc/feature-gate-doc_primitive.stderr @@ -6,6 +6,6 @@ LL | #[rustc_doc_primitive = "usize"] | = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0658`. diff --git a/tests/ui/rustdoc/unterminated-doc-comment.stderr b/tests/ui/rustdoc/unterminated-doc-comment.stderr index 2d5e537973e..2d96c606b16 100644 --- a/tests/ui/rustdoc/unterminated-doc-comment.stderr +++ b/tests/ui/rustdoc/unterminated-doc-comment.stderr @@ -4,6 +4,6 @@ error[E0758]: unterminated block doc-comment LL | /*! | ^^^^^^^^^^^^^^^^^^^^ -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0758`. |
