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

Fails to build with rustc 1.78 #152

Open
siretart opened this issue Jul 6, 2024 · 0 comments · May be fixed by #151
Open

Fails to build with rustc 1.78 #152

siretart opened this issue Jul 6, 2024 · 0 comments · May be fixed by #151

Comments

@siretart
Copy link

siretart commented Jul 6, 2024

I'm getting a bunch of "unnecessary qualification" issues:

@siretart ➜ /workspaces/parsec-interface-rs (main) $ cargo build
   Compiling prost v0.9.0
   Compiling parsec-interface v0.29.1 (/workspaces/parsec-interface-rs)
error: unnecessary qualification
  --> src/operations/psa_import_key.rs:25:15
   |
25 |     pub data: crate::secrecy::Secret<Vec<u8>>,
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
note: the lint level is defined here
  --> src/lib.rs:24:5
   |
24 |     unused_qualifications,
   |     ^^^^^^^^^^^^^^^^^^^^^
help: remove the unnecessary path segments
   |
25 -     pub data: crate::secrecy::Secret<Vec<u8>>,
25 +     pub data: secrecy::Secret<Vec<u8>>,
   |

error: unnecessary qualification
  --> src/operations/psa_raw_key_agreement.rs:32:24
   |
32 |     pub shared_secret: crate::secrecy::Secret<Vec<u8>>,
   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
help: remove the unnecessary path segments
   |
32 -     pub shared_secret: crate::secrecy::Secret<Vec<u8>>,
32 +     pub shared_secret: secrecy::Secret<Vec<u8>>,
   |

error: could not compile `parsec-interface` (lib) due to 2 previous errors
@siretart siretart linked a pull request Jul 6, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant