]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #61409 - varkor:condition-trait-param-ice, r=oli-obk
authorMazdak Farrokhzad <twingoow@gmail.com>
Tue, 4 Jun 2019 02:48:08 +0000 (04:48 +0200)
committerGitHub <noreply@github.com>
Tue, 4 Jun 2019 02:48:08 +0000 (04:48 +0200)
commit156351419611f3ee6f6b1327e6021676630e64a8
tree394818604f165ef372b5aad8d028678c88320a39
parentfb4652e85f1729412f6298aea033cb26b4755de9
parent2b27c6235b4feb1e2aaac2dde5c5c67a29470127
Rollup merge of #61409 - varkor:condition-trait-param-ice, r=oli-obk

Fix an ICE with a const argument in a trait

This goes some way towards fixing https://github.com/rust-lang/rust/issues/61383 (the reduced test case is fixed).
src/librustc_typeck/collect.rs
src/libsyntax/parse/parser.rs