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/operator-recovery | |
| 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/operator-recovery')
| -rw-r--r-- | tests/ui/operator-recovery/less-than-greater-than.stderr | 2 | ||||
| -rw-r--r-- | tests/ui/operator-recovery/spaceship.stderr | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/operator-recovery/less-than-greater-than.stderr b/tests/ui/operator-recovery/less-than-greater-than.stderr index 80c921535bd..21b2e77db9a 100644 --- a/tests/ui/operator-recovery/less-than-greater-than.stderr +++ b/tests/ui/operator-recovery/less-than-greater-than.stderr @@ -4,5 +4,5 @@ error: invalid comparison operator `<>` LL | println!("{}", 1 <> 2); | ^^ help: `<>` is not a valid comparison operator, use `!=` -error: aborting due to previous error +error: aborting due to 1 previous error diff --git a/tests/ui/operator-recovery/spaceship.stderr b/tests/ui/operator-recovery/spaceship.stderr index ed6bd74c9b9..46a81db62b4 100644 --- a/tests/ui/operator-recovery/spaceship.stderr +++ b/tests/ui/operator-recovery/spaceship.stderr @@ -4,5 +4,5 @@ error: invalid comparison operator `<=>` LL | println!("{}", 1 <=> 2); | ^^^ `<=>` is not a valid comparison operator, use `std::cmp::Ordering` -error: aborting due to previous error +error: aborting due to 1 previous error |
