]> git.lizzy.rs Git - rust.git/commit
Make the `structural_match` error diagnostic for const generics clearer
authorvarkor <github@varkor.com>
Mon, 6 Apr 2020 14:12:52 +0000 (15:12 +0100)
committervarkor <github@varkor.com>
Mon, 20 Apr 2020 11:46:27 +0000 (12:46 +0100)
commit3eea7b31ee0f1afdfcbb2ece8a5445655706cd9b
treeacf9e21d2021bc876ccfd25cf9bea4127d3e12e0
parent8d67f576b56e8fc98a31123e5963f8d00e40611c
Make the `structural_match` error diagnostic for const generics clearer
src/librustc_typeck/collect/type_of.rs
src/test/ui/const-generics/const-param-type-depends-on-type-param-ungated.rs
src/test/ui/const-generics/const-param-type-depends-on-type-param-ungated.stderr
src/test/ui/const-generics/const-param-type-depends-on-type-param.rs
src/test/ui/const-generics/const-param-type-depends-on-type-param.stderr
src/test/ui/const-generics/forbid-non-structural_match-types.rs
src/test/ui/const-generics/forbid-non-structural_match-types.stderr