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/late-bound-lifetimes | |
| 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/late-bound-lifetimes')
| -rw-r--r-- | tests/ui/late-bound-lifetimes/issue-80618.stderr | 2 | ||||
| -rw-r--r-- | tests/ui/late-bound-lifetimes/mismatched_arg_count.stderr | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/late-bound-lifetimes/issue-80618.stderr b/tests/ui/late-bound-lifetimes/issue-80618.stderr index cf7423fc16f..28ea61f38a3 100644 --- a/tests/ui/late-bound-lifetimes/issue-80618.stderr +++ b/tests/ui/late-bound-lifetimes/issue-80618.stderr @@ -10,6 +10,6 @@ note: the late bound lifetime parameter is introduced here LL | fn foo<'a>(x: &'a str) -> &'a str { | ^^ -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0794`. diff --git a/tests/ui/late-bound-lifetimes/mismatched_arg_count.stderr b/tests/ui/late-bound-lifetimes/mismatched_arg_count.stderr index de58a014ee8..1b8f1c3fd6f 100644 --- a/tests/ui/late-bound-lifetimes/mismatched_arg_count.stderr +++ b/tests/ui/late-bound-lifetimes/mismatched_arg_count.stderr @@ -12,6 +12,6 @@ note: type alias defined here, with 1 lifetime parameter: `'a` LL | type Alias<'a, T> = <T as Trait<'a>>::Assoc; | ^^^^^ -- -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0107`. |
