attach_db

Function attach_db 

pub fn attach_db<R>(
    db: &(dyn HirDatabase + 'static),
    op: impl FnOnce() -> R,
) -> R