rust/compiler/rustc_passes
bors 701496384f Auto merge of #86571 - fee1-dead:const-trait-impl-fix, r=jackh726
deny using default function in impl const Trait

Fixes #79450.

I don't know if my implementation is correct:

 - The check is in `rustc_passes::check_const`, should I put it somewhere else instead?
 - Is my approach (to checking the impl) optimal? It works for the current tests, but it might have some issues or there might be a better way of doing this.
2021-07-03 07:24:24 +00:00
..
src Auto merge of #86571 - fee1-dead:const-trait-impl-fix, r=jackh726 2021-07-03 07:24:24 +00:00
Cargo.toml rustc_passes: Remove unused dependency rustc_trait_selection 2021-06-25 01:12:59 -07:00