Skip to content

Fix Error around Arguments in Credential gateway #115

@MarketMadi

Description

@MarketMadi
error[E0061]: this function takes 2 arguments but 3 arguments were supplied
   --> src/credentialgateway.rs:131:40
    |
131 | ... = ServiceDeliveranceResult::new(service_id, ret, reaso...
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                --------
    |                                                    | |
    |                                                    | unexpected argument of type `Vec<_>`
    |                                                    help: remove the extra argument
    |

As a developer, I need to resolve this error to run a successful cargo build. The third argument appears to be causing this issue. It could be fixed by updating ServiceDeliveranceResult to take 3 arguments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions