diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2021-02-06 00:14:11 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-06 00:14:11 +0100 |
| commit | 78be1aa2264470f7b5043fbf13e8c6551b806a7a (patch) | |
| tree | 473f9af47ca43083c774d1789b5fadcd4cacc307 /src/test/debuginfo/enum-thinlto.rs | |
| parent | 43b3adb4e2f6f4da7e1bf20648533fc634395468 (diff) | |
| parent | 1020784040894716670b2d187ad90f145f856900 (diff) | |
| download | rust-78be1aa2264470f7b5043fbf13e8c6551b806a7a.tar.gz rust-78be1aa2264470f7b5043fbf13e8c6551b806a7a.zip | |
Rollup merge of #81610 - ssomers:btree_emphasize_ord_bound, r=dtolnay
BTreeMap: make Ord bound explicit, compile-test its absence Most `BTreeMap` and `BTreeSet` members are subject to an `Ord` bound but a fair number of methods are not. To better convey and perhaps later tune the `Ord` bound, make it stand out in individual `where` clauses, instead of once far away at the beginning of an `impl` block. This PR does not introduce or remove any bounds. Also adds compilation test cases checking that the bound doesn't creep in unintended on the historically unbounded methods.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
