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> {
24
24
tcx : TyCtxt < ' tcx > ,
25
25
}
26
26
27
+ rustc_index:: newtype_index! {
28
+ #[ orderable]
29
+ pub struct RegionId { }
30
+ }
31
+
27
32
impl < ' tcx > InherentOverlapChecker < ' tcx > {
28
33
/// Checks whether any associated items in impls 1 and 2 share the same identifier and
29
34
/// namespace.
@@ -205,11 +210,6 @@ impl<'tcx> InherentOverlapChecker<'tcx> {
205
210
// This is advantageous to running the algorithm over the
206
211
// entire graph when there are many connected regions.
207
212
208
- rustc_index:: newtype_index! {
209
- #[ orderable]
210
- pub struct RegionId { }
211
- }
212
-
213
213
struct ConnectedRegion {
214
214
idents : SmallVec < [ Symbol ; 8 ] > ,
215
215
impl_blocks : FxHashSet < usize > ,
You can’t perform that action at this time.
0 commit comments