about summary refs log tree commit diff
path: root/src/libcore/array
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-05-04 16:15:24 +0200
committerGitHub <noreply@github.com>2020-05-04 16:15:24 +0200
commit679431f7419e5fe2644a008092f00ccd36779dfb (patch)
treed91533da39909ebb9d2111dd8ee23d9c5235fe4d /src/libcore/array
parent6318d24ad8440fa30428b405be1174478e9536e3 (diff)
parent2f5c0f59a96612667ca6aeb40b6e40259f861e7e (diff)
downloadrust-679431f7419e5fe2644a008092f00ccd36779dfb.tar.gz
rust-679431f7419e5fe2644a008092f00ccd36779dfb.zip
Rollup merge of #71038 - lcnr:dyn_trait_structural_match, r=pnkfelix
forbid `dyn Trait` in patterns

Do not allow `&dyn Trait` as a generic const parameters.
This also changes dyn trait in pattern from ICE to error.

closes #63322
closes #70972

r? @eddyb
Diffstat (limited to 'src/libcore/array')
0 files changed, 0 insertions, 0 deletions