{"ast_node_type":"function","tokens":[{"end":74,"kind":"keyword","start":0,"text":"pub"}]}
pub fn valid_ty_for_activity(ty: &P<Ty>, activity: DiffActivity) -> bool {
/// users here from marking scalars as Duplicated, due to type aliases.
    use DiffActivity::*;