diff options
| author | bors <bors@rust-lang.org> | 2022-07-08 03:05:15 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-07-08 03:05:15 +0000 |
| commit | bee9da14cd8ce7b3c735645bd260eb34c6b53dcb (patch) | |
| tree | 9e06cf53efc2bf982cb458d94c29f405d1292665 | |
| parent | 5474f56bcf08584211ce7207568204ae7ac481db (diff) | |
| parent | 347d999b97a6be3cc45d72697238cb7b63960b07 (diff) | |
| download | rust-bee9da14cd8ce7b3c735645bd260eb34c6b53dcb.tar.gz rust-bee9da14cd8ce7b3c735645bd260eb34c6b53dcb.zip | |
Auto merge of #98482 - cjgillot:short-struct-span-closure, r=estebank
Shorten def_span of closures to just their header Continuation of https://github.com/rust-lang/rust/pull/93967.
| -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 |
