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/panic-runtime | |
| 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/panic-runtime')
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/ui/panic-runtime/abort-link-to-unwind-dylib.stderr b/tests/ui/panic-runtime/abort-link-to-unwind-dylib.stderr index 704b81ae1ce..bea1172f0e3 100644 --- a/tests/ui/panic-runtime/abort-link-to-unwind-dylib.stderr +++ b/tests/ui/panic-runtime/abort-link-to-unwind-dylib.stderr @@ -1,4 +1,4 @@ error: the linked panic runtime `panic_unwind` is not compiled with this crate's panic strategy `abort` -error: aborting due to previous error +error: aborting due to 1 previous error diff --git a/tests/ui/panic-runtime/need-abort-got-unwind.stderr b/tests/ui/panic-runtime/need-abort-got-unwind.stderr index d29c7875fd0..2a13f45c1e2 100644 --- a/tests/ui/panic-runtime/need-abort-got-unwind.stderr +++ b/tests/ui/panic-runtime/need-abort-got-unwind.stderr @@ -1,4 +1,4 @@ error: the crate `needs_abort` requires panic strategy `abort` which is incompatible with this crate's strategy of `unwind` -error: aborting due to previous error +error: aborting due to 1 previous error diff --git a/tests/ui/panic-runtime/need-unwind-got-abort.stderr b/tests/ui/panic-runtime/need-unwind-got-abort.stderr index 4c71df3ebc1..2a0647fe700 100644 --- a/tests/ui/panic-runtime/need-unwind-got-abort.stderr +++ b/tests/ui/panic-runtime/need-unwind-got-abort.stderr @@ -1,4 +1,4 @@ error: the crate `needs_unwind` requires panic strategy `unwind` which is incompatible with this crate's strategy of `abort` -error: aborting due to previous error +error: aborting due to 1 previous error diff --git a/tests/ui/panic-runtime/want-unwind-got-abort.stderr b/tests/ui/panic-runtime/want-unwind-got-abort.stderr index d306ce6c5ea..ced0a7610e2 100644 --- a/tests/ui/panic-runtime/want-unwind-got-abort.stderr +++ b/tests/ui/panic-runtime/want-unwind-got-abort.stderr @@ -1,4 +1,4 @@ error: the linked panic runtime `panic_runtime_abort` is not compiled with this crate's panic strategy `unwind` -error: aborting due to previous error +error: aborting due to 1 previous error |
