]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #91746 - ssomers:btree_tests, r=Mark-Simulacrum
authorMatthias Krüger <matthias.krueger@famsik.de>
Sun, 12 Dec 2021 06:45:28 +0000 (07:45 +0100)
committerGitHub <noreply@github.com>
Sun, 12 Dec 2021 06:45:28 +0000 (07:45 +0100)
Btree: assert more API compatibility

Introducing a member such as `BTreeSet::min()` would silently break compatibility if no code calls the existing `BTreeSet::min(set)`. `BTreeSet` is the only btree class silently bringing in stable members, apart from many occurrences of `#[derive(Debug)]` on iterators.

r? `@Mark-Simulacrum`


Trivial merge