about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-04-24 02:47:26 +0200
committerGitHub <noreply@github.com>2020-04-24 02:47:26 +0200
commit45e04feb1d25103127beb5f34c126a64e959cff6 (patch)
tree90f834e5b5fb98e84882462a3c7212942c0d12f0 /src/test/debuginfo/enum-thinlto.rs
parent14b15521c52549ebbb113173b4abecd124b5a823 (diff)
parentf8b796b10b3282b02a6bb6f5b5be9dc8dc0dbf94 (diff)
downloadrust-45e04feb1d25103127beb5f34c126a64e959cff6.tar.gz
rust-45e04feb1d25103127beb5f34c126a64e959cff6.zip
Rollup merge of #70845 - varkor:const-generics-derive-eq-diagnostic, r=estebank
Make the `structural_match` error diagnostic for const generics clearer

The previous diagnostic caused confusion (https://github.com/rust-lang/rust/issues/70790), so this changes the message to be closer to the message for using non-`structural_match` constants in patterns, explicitly mentioning `#[derive(PartialEq, Eq)]`.

Fixes https://github.com/rust-lang/rust/issues/70790.

r? @estebank
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions