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/tuple | |
| 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/tuple')
| -rw-r--r-- | tests/ui/tuple/array-diagnostics.stderr | 2 | ||||
| -rw-r--r-- | tests/ui/tuple/wrong_argument_ice-2.stderr | 2 | ||||
| -rw-r--r-- | tests/ui/tuple/wrong_argument_ice-3.stderr | 2 | ||||
| -rw-r--r-- | tests/ui/tuple/wrong_argument_ice-4.stderr | 2 | ||||
| -rw-r--r-- | tests/ui/tuple/wrong_argument_ice.stderr | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/tests/ui/tuple/array-diagnostics.stderr b/tests/ui/tuple/array-diagnostics.stderr index a10d7af470c..629ca2b37fa 100644 --- a/tests/ui/tuple/array-diagnostics.stderr +++ b/tests/ui/tuple/array-diagnostics.stderr @@ -4,6 +4,6 @@ error[E0618]: expected function, found `(&'static str, {integer})` LL | ("C200B40A83", 4) | ^^^^^^^^^^^^^^^^^- help: consider separating array elements with a comma: `,` -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0618`. diff --git a/tests/ui/tuple/wrong_argument_ice-2.stderr b/tests/ui/tuple/wrong_argument_ice-2.stderr index 41244209214..a868adf411b 100644 --- a/tests/ui/tuple/wrong_argument_ice-2.stderr +++ b/tests/ui/tuple/wrong_argument_ice-2.stderr @@ -14,6 +14,6 @@ help: wrap these arguments in parentheses to construct a tuple LL | test((x.qux(), x.qux())); | + + -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0061`. diff --git a/tests/ui/tuple/wrong_argument_ice-3.stderr b/tests/ui/tuple/wrong_argument_ice-3.stderr index 8b9dac6e291..ce21751f39d 100644 --- a/tests/ui/tuple/wrong_argument_ice-3.stderr +++ b/tests/ui/tuple/wrong_argument_ice-3.stderr @@ -19,6 +19,6 @@ LL - groups.push(new_group, vec![process]); LL + groups.push(/* (Vec<String>, Vec<Process>) */); | -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0061`. diff --git a/tests/ui/tuple/wrong_argument_ice-4.stderr b/tests/ui/tuple/wrong_argument_ice-4.stderr index 1fbf180c673..3c7d6699be2 100644 --- a/tests/ui/tuple/wrong_argument_ice-4.stderr +++ b/tests/ui/tuple/wrong_argument_ice-4.stderr @@ -17,6 +17,6 @@ note: closure defined here LL | (|| {})(|| { | ^^ -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0057`. diff --git a/tests/ui/tuple/wrong_argument_ice.stderr b/tests/ui/tuple/wrong_argument_ice.stderr index 213ca8f885c..6d0558d2876 100644 --- a/tests/ui/tuple/wrong_argument_ice.stderr +++ b/tests/ui/tuple/wrong_argument_ice.stderr @@ -11,6 +11,6 @@ help: wrap these arguments in parentheses to construct a tuple LL | self.acc.push_back((self.current_provides, self.current_requires)); | + + -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0061`. |
