message: Properly disable lookup constraints when lookups are not enabled
diff: @@ -128,6 +128,7 @@ pub fn constraints_expr<F: PrimeField + SquareRootField>(
  // lookup
  if let Some(feature_flags) = feature_flags {
  + if feature_flags.lookup_features.patterns != LookupPatterns::default() {
  let lookup_configuration =
  LookupConfiguration::new(LookupInfo::create(feature_flags.lookup_features));
  let constraints = lookup::constraints::constraints(&lookup_configuration, false);
  @@ -143,7 +144,8 @@ pub fn constraints_expr<F: PrimeField + SquareRootField>(
  let combined = Expr::combine_constraints(alphas, constraints);
  expr += combined;
  - } else if feature_flags.is_none() {
  + }
  + } else {
  let all_features = LookupFeatures {
  patterns: LookupPatterns {
  xor: true,
  