about summary refs log tree commit diff
path: root/compiler/rustc_passes/src/check_const.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-08-15 20:34:24 +0200
committerGitHub <noreply@github.com>2023-08-15 20:34:24 +0200
commit5baf2a110fb699a1dc6c8036fd7dedbf746c54ca (patch)
treeae5517990772737a241b7a8032492427f7bb12ad /compiler/rustc_passes/src/check_const.rs
parentd95cbece5e0f326b07bd36895a9a3961ebc28237 (diff)
parent1f42be6f555ada6a126104d06e795ede43f65412 (diff)
downloadrust-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