Skip to content

Fails to build with rustc 1.78 #152

Description

@siretart

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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