fn report_unexpected<'db>( db: &'db dyn Db, spanned: impl Spanned<'db>, name: &str, problem: &str, ) -> Reported