/// Returns an iterator over associated types that may be specified after this path (using
/// `Ty::Assoc` syntax).
Returns an iterator over associated types that may be specified after this path (using
`Ty::Assoc` syntax).
Returns an iterator over associated types that may be specified after this path ( using ` Ty :: Assoc ` syntax ) .
pub fn assoc_type_shorthand_candidates<R>(
        &self,
        db: &dyn HirDatabase,
        mut cb: impl FnMut(TypeAlias) -> Option<R>,
    ) -> Option<R> {
        associated_type_shorthand_candidates(db, self.in_type_ns()?, |_, _, id| cb(id.into()))
    }
pub fn assoc_type_shorthand_candidates < R > ( & self , db : & dyn HirDatabase , mut cb : impl FnMut ( TypeAlias ) -> Option < R > , ) -> Option < R > { associated_type_shorthand_candidates ( db , self . in_type_ns ( ) ? , | _ , _ , id | cb ( id . into ( ) ) ) }
Returns an iterator over associated types that may be specified after this path (using
`Ty::Assoc` syntax).
Returns an iterator over associated types that may be specified after this path ( using ` Ty :: Assoc ` syntax ) .
&self
db
&dyn HirDatabase
cb
impl FnMut(TypeAlias) -> Option<R>