File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
compiler/rustc_hir_analysis/src/coherence Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,11 @@ struct InherentOverlapChecker<'tcx> {
2424 tcx : TyCtxt < ' tcx > ,
2525}
2626
27+ rustc_index:: newtype_index! {
28+ #[ orderable]
29+ pub struct RegionId { }
30+ }
31+
2732impl < ' tcx > InherentOverlapChecker < ' tcx > {
2833 /// Checks whether any associated items in impls 1 and 2 share the same identifier and
2934 /// namespace.
@@ -205,11 +210,6 @@ impl<'tcx> InherentOverlapChecker<'tcx> {
205210 // This is advantageous to running the algorithm over the
206211 // entire graph when there are many connected regions.
207212
208- rustc_index:: newtype_index! {
209- #[ orderable]
210- pub struct RegionId { }
211- }
212-
213213 struct ConnectedRegion {
214214 idents : SmallVec < [ Symbol ; 8 ] > ,
215215 impl_blocks : FxHashSet < usize > ,
You can’t perform that action at this time.
0 commit comments