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

warning: extra_unused_type_parameters in generated code #155

Closed
tiziano88 opened this issue Feb 15, 2023 · 1 comment
Closed

warning: extra_unused_type_parameters in generated code #155

tiziano88 opened this issue Feb 15, 2023 · 1 comment

Comments

@tiziano88
Copy link
Member

Started getting this warning from clippy with Rust 1.69 nightly:

parameter goes unused in function definition
  --> oak_sev_guest/src/guest.rs:45:17
   |
45 | #[derive(Debug, AsBytes, FromBytes)]
   |                 ^^^^^^^
   |
   = help: consider removing the parameter
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
   = note: `#[warn(clippy::extra_unused_type_parameters)]` on by default
   = note: this warning originates in the derive macro `AsBytes` (in Nightly builds, run with -Z macro-backtrace for more info)

cc @conradgrobler @andrisaar

@tiziano88
Copy link
Member Author

Never mind, looks like a duplicate of #154

@tiziano88 tiziano88 closed this as not planned Won't fix, can't repro, duplicate, stale Feb 15, 2023
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