diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2022-06-27 07:45:35 +0200 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2022-07-07 09:27:42 +0200 |
| commit | 347d999b97a6be3cc45d72697238cb7b63960b07 (patch) | |
| tree | 6322330d6afc68380bd4dc080df7b79597fe72af | |
| parent | 5483a7dd44a91e190ba8eb1361879ac3936cc415 (diff) | |
| download | rust-347d999b97a6be3cc45d72697238cb7b63960b07.tar.gz rust-347d999b97a6be3cc45d72697238cb7b63960b07.zip | |
Shorten span for closures.
| -rw-r--r-- | tests/ui/crashes/ice-6251.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/crashes/ice-6251.stderr b/tests/ui/crashes/ice-6251.stderr index 77a3c2ba4ad..8da2965c635 100644 --- a/tests/ui/crashes/ice-6251.stderr +++ b/tests/ui/crashes/ice-6251.stderr @@ -33,7 +33,7 @@ LL | fn bug<T>() -> impl Iterator<Item = [(); { |x: [u8]| x }]> { | ^^^^^^^^^^^ expected `usize`, found closure | = note: expected type `usize` - found closure `[closure@$DIR/ice-6251.rs:4:44: 4:55]` + found closure `[closure@$DIR/ice-6251.rs:4:44: 4:53]` error: aborting due to 4 previous errors |
