pub trait Lookup { type Data; // Required method fn lookup<'db>(&self, db: &'db dyn SourceDatabase) -> &'db Self::Data; }