diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-03-16 13:16:30 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-16 13:16:30 +0100 |
| commit | 59b0058c0cb875e539052a91ff9ccf355f0427a8 (patch) | |
| tree | 96635e9ac259145fb49bf88d908d66cb69ad32cf /src/test/rustdoc-ui/coverage/json.rs | |
| parent | 8e6de3244cd62cbde367c206bc9972daded5281d (diff) | |
| parent | 6f75d3fcc04e6da1f10424e29da978a81698e81b (diff) | |
| download | rust-59b0058c0cb875e539052a91ff9ccf355f0427a8.tar.gz rust-59b0058c0cb875e539052a91ff9ccf355f0427a8.zip | |
Rollup merge of #67335 - ecstatic-morse:qualif-refactor, r=eddyb
Refactor the `Qualif` trait This PR attempts to preserve the existing semantics of the `Qualif` trait while reducing its API to two significant methods with descriptive names, `in_any_value_of_ty` and `in_adt_inherently`. The other `in_*` methods have been made into free functions, since they should never be overloaded. Finally, I changed the bounds on the `in_local` argument to be less restrictive (`FnMut` instead of `Fn`), which addresses a FIXME in the const-checker. r? @eddyb cc @pnkfelix @oli-obk
Diffstat (limited to 'src/test/rustdoc-ui/coverage/json.rs')
0 files changed, 0 insertions, 0 deletions
