diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-08-15 20:34:24 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-15 20:34:24 +0200 |
| commit | 5baf2a110fb699a1dc6c8036fd7dedbf746c54ca (patch) | |
| tree | ae5517990772737a241b7a8032492427f7bb12ad /compiler/rustc_passes/src/check_const.rs | |
| parent | d95cbece5e0f326b07bd36895a9a3961ebc28237 (diff) | |
| parent | 1f42be6f555ada6a126104d06e795ede43f65412 (diff) | |
| download | rust-5baf2a110fb699a1dc6c8036fd7dedbf746c54ca.tar.gz rust-5baf2a110fb699a1dc6c8036fd7dedbf746c54ca.zip | |
Rollup merge of #114668 - compiler-errors:match-fn-def, r=petrochenkov
Deny `FnDef` in patterns
We can only see these via `const { .. }` patterns, which are unstable.
cc #76001 (tracking issue for inline const pats)
Fixes #114658
Fixes #114659
Diffstat (limited to 'compiler/rustc_passes/src/check_const.rs')
0 files changed, 0 insertions, 0 deletions
