code: private void registerMismatch(JSType found, JSType required, JSError error) {
      TypeMismatch.registerMismatch(
          this.mismatches, this.implicitInterfaceUses, found, required, error);
    }
docs: Registers a type mismatch into the universe of mismatches owned by this pass.