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