Introduce ExtentUnord trait for collections that can safely consume UnordItems.

This commit is contained in:
Michael Woerister 2023-07-10 13:02:52 +02:00
parent cfb310939b
commit 457b787a52
6 changed files with 40 additions and 27 deletions

View file

@ -1,4 +1,4 @@
use rustc_data_structures::unord::{UnordItems, UnordSet};
use rustc_data_structures::unord::{ExtendUnord, UnordItems, UnordSet};
use rustc_hir as hir;
use rustc_hir::def::DefKind;
use rustc_hir::def_id::{DefId, LocalDefId};