pub fn underlying_type<'d, F>(ty: &Type, lookup: F) -> Typewhere F: Fn(&str) -> Option<&'d Definition>,
Follow newtype fields to their canonical representation. The cycle guard also makes this safe for recovery types built from invalid recursive declarations.