Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seemed to break on param called default #557

Open
david-crespo opened this issue Aug 30, 2023 · 0 comments
Open

Seemed to break on param called default #557

david-crespo opened this issue Aug 30, 2023 · 0 comments

Comments

@david-crespo
Copy link
Contributor

Param introduced here: oxidecomputer/omicron@6455ec3. Build failure was fixed by changing the name of the param to is_default.

~/oxide/omicron $ cargo build -p oxide-client
   Compiling oxide-client v0.1.0 (/Users/david/oxide/omicron/oxide-client)
error[E0061]: this function takes 2 arguments but 0 arguments were supplied
  --> oxide-client/src/lib.rs:18:1
   |
18 | / progenitor::generate_api!(
19 | |     spec = "../openapi/nexus.json",
20 | |     interface = Builder,
21 | |     tags = Separate,
22 | | );
   | |_^ two arguments are missing
   |
note: method defined here
  --> oxide-client/src/lib.rs:18:1
   |
18 | / progenitor::generate_api!(
19 | |     spec = "../openapi/nexus.json",
20 | |     interface = Builder,
21 | |     tags = Separate,
22 | | );
   | |_^
   | |_|
   |
   = note: this error originates in the macro `progenitor::generate_api` (in Nightly builds, run with -Z macro-backtrace for more info)
help: provide the arguments
   |
22 | )(/* types::builder::IpPoolCreate */, /* value */);
   |  +++++++++++++++++++++++++++++++++++++++++++++++++

For more information about this error, try `rustc --explain E0061`.
error: could not compile `oxide-client` (lib) due to previous error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant