File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/rustc_passes/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -822,8 +822,8 @@ impl<'tcx> Visitor<'tcx> for Checker<'tcx> {
822822 if item_is_allowed {
823823 // Check parent modules stability as well if the item the path refers to is itself
824824 // stable. We only emit warnings for unstable path segments if the item is stable
825- // because stability is often inherited, so the most common case is that both the
826- // segments and the item are unstable behind the same feature flag.
825+ // or allowed because stability is often inherited, so the most common case is that
826+ // both the segments and the item are unstable behind the same feature flag.
827827 //
828828 // We check here rather than in `visit_path_segment` to prevent visiting the last
829829 // path segment twice
You can’t perform that action at this time.
0 commit comments