pub fn datatype_invalid_base_type<S>( file_id: FileId, reference_location: Option<Span>, name: S, ) -> Diagnosticwhere S: Into<String>,