fn check_incompatible_features(sess: &Session)