Skip to content

Commit

Permalink
Shorten span for closures.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjgillot committed Jul 7, 2022
1 parent 5483a7d commit 347d999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ui/crashes/ice-6251.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 347d999

Please sign in to comment.