fn is_label_valid_from_rib(&self, rib_index: usize) -> bool {
        let ribs = &self.label_ribs[rib_index + 1..];

        for rib in ribs {
            match rib.kind {
                NormalRibKind | MacroDefinition(..) => {
                    // Nothing to do. Continue.
                }

                AssocItemRibKind
                | ClosureOrAsyncRibKind
                | FnItemRibKind
                | ItemRibKind(..)
                | ConstantItemRibKind
                | ModuleRibKind(..)
                | ForwardTyParamBanRibKind => {
                    return false;
                }
            }
        }

        true
    }
/// Determine whether or not a label from the `rib_index`th label rib is reachable.
Determine whether or not a label from the `rib_index`th label rib is reachable.
Determine whether or not a label from the ` rib_index ` th label rib is reachable .
fn is_label_valid_from_rib(&self, rib_index: usize) -> bool {
        let ribs = &self.label_ribs[rib_index + 1..];
        for rib in ribs {
            match rib.kind {
                NormalRibKind | MacroDefinition(..) => {
                    // Nothing to do. Continue.
                }
                AssocItemRibKind
                | ClosureOrAsyncRibKind
                | FnItemRibKind
                | ItemRibKind(..)
                | ConstantItemRibKind
                | ModuleRibKind(..)
                | ForwardTyParamBanRibKind => {
                    return false;
                }
            }
        }
        true
    }
fn is_label_valid_from_rib ( & self , rib_index : usize ) -> bool { let ribs = & self . label_ribs [ rib_index + 1 .. ] ; for rib in ribs { match rib . kind { NormalRibKind | MacroDefinition ( .. ) => { // Nothing to do. Continue. } AssocItemRibKind | ClosureOrAsyncRibKind | FnItemRibKind | ItemRibKind ( .. ) | ConstantItemRibKind | ModuleRibKind ( .. ) | ForwardTyParamBanRibKind => { return false ; } } } true }
Determine whether or not a label from the `rib_index`th label rib is reachable.
Determine whether or not a label from the ` rib_index ` th label rib is reachable .
&self
rib_index
usize
&self
rib_index
usize