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> {
822
822
if item_is_allowed {
823
823
// Check parent modules stability as well if the item the path refers to is itself
824
824
// 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.
827
827
//
828
828
// We check here rather than in `visit_path_segment` to prevent visiting the last
829
829
// path segment twice
You can’t perform that action at this time.
0 commit comments