diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-07-22 15:32:09 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-22 15:32:09 +0200 |
| commit | 0de90c67dce73694ddd577de67d8352e420bee0c (patch) | |
| tree | 3588f6a94ad061e808dea12d2b71d505804ba871 /src/test/ui/thinlto | |
| parent | 4bc1ce7bdb7f5dc9ea07c0b630c087d8e11140e4 (diff) | |
| parent | 503cedac0c33782ab2ec6765f6b790850d260bd2 (diff) | |
| download | rust-0de90c67dce73694ddd577de67d8352e420bee0c.tar.gz rust-0de90c67dce73694ddd577de67d8352e420bee0c.zip | |
Rollup merge of #62709 - nhynes:test-maplike-fromiter, r=cuviper
Test that maplike FromIter satisfies uniqueness This PR adds a simple assertion to the `HashMap` and `HashSet` tests to ensure that uniqueness is satisfied when `FromIter`ing. This is useful for people who want to test their custom type against the Map/Set interfaces since they'll copy the tests wholesale but possibly miss this bug (where _they_ = _me_).
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions
