diff options
| author | Michael Goulet <michael@errs.io> | 2024-07-06 14:55:25 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-06 14:55:25 -0400 |
| commit | 413345c61dc0bf29e259d2cfd50daaaeab008ea8 (patch) | |
| tree | 5dbd26e58a1f27dd18670cd1d22fa0882e6fe2bb /tests/ui/panic-handler | |
| parent | 9352026d26745c692b624b610f97ea6d9bce76f0 (diff) | |
| parent | 81c86ddf8e1405062c5f9854d6f94f125abd8e93 (diff) | |
| download | rust-413345c61dc0bf29e259d2cfd50daaaeab008ea8.tar.gz rust-413345c61dc0bf29e259d2cfd50daaaeab008ea8.zip | |
Rollup merge of #127417 - chenyukang:yukang-method-output-diff, r=oli-obk
Show fnsig's unit output explicitly when there is output diff in diagnostics Fixes #127263
Diffstat (limited to 'tests/ui/panic-handler')
| -rw-r--r-- | tests/ui/panic-handler/panic-handler-bad-signature-1.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/panic-handler/panic-handler-bad-signature-1.stderr b/tests/ui/panic-handler/panic-handler-bad-signature-1.stderr index 812f7a0692f..4fea52fec6e 100644 --- a/tests/ui/panic-handler/panic-handler-bad-signature-1.stderr +++ b/tests/ui/panic-handler/panic-handler-bad-signature-1.stderr @@ -5,7 +5,7 @@ LL | fn panic(info: PanicInfo) -> () {} | ^^^^^^^^^ expected `&PanicInfo<'_>`, found `PanicInfo<'_>` | = note: expected signature `for<'a, 'b> fn(&'a PanicInfo<'b>) -> !` - found signature `for<'a> fn(PanicInfo<'a>)` + found signature `for<'a> fn(PanicInfo<'a>) -> ()` error: aborting due to 1 previous error |
