about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2021-02-06 00:14:11 +0100
committerGitHub <noreply@github.com>2021-02-06 00:14:11 +0100
commit78be1aa2264470f7b5043fbf13e8c6551b806a7a (patch)
tree473f9af47ca43083c774d1789b5fadcd4cacc307 /src/test/debuginfo/enum-thinlto.rs
parent43b3adb4e2f6f4da7e1bf20648533fc634395468 (diff)
parent1020784040894716670b2d187ad90f145f856900 (diff)
downloadrust-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