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 | eba361ae36be41e42fb8fdf138455307e0ad407c (patch) | |
| tree | fefca1477c4127bf5256edd6bc8d2a6e6fd373df /src/test/ui/pattern | |
| parent | 9b21131278cc38ab8d79444de340015faadd061c (diff) | |
| parent | d43fa9343b18063013982ddf02d09fd1eb077c25 (diff) | |
| download | rust-eba361ae36be41e42fb8fdf138455307e0ad407c.tar.gz rust-eba361ae36be41e42fb8fdf138455307e0ad407c.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.
Diffstat (limited to 'src/test/ui/pattern')
| -rw-r--r-- | src/test/ui/pattern/non-structural-match-types.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/pattern/non-structural-match-types.stderr b/src/test/ui/pattern/non-structural-match-types.stderr index e9b56cdc05d..45e16264973 100644 --- a/src/test/ui/pattern/non-structural-match-types.stderr +++ b/src/test/ui/pattern/non-structural-match-types.stderr @@ -1,4 +1,4 @@ -error: `[closure@$DIR/non-structural-match-types.rs:9:17: 9:22]` cannot be used in patterns +error: `[closure@$DIR/non-structural-match-types.rs:9:17: 9:19]` cannot be used in patterns --> $DIR/non-structural-match-types.rs:9:9 | LL | const { || {} } => {}, |
