Skip to content

cargo test -F der: cannot find macro vec in this scope #1322

Description

@kpcyrd

hello!

while updating the Debian package to crypto-bigint 0.7.5 I noticed the following test failure in our automated test suite:

error: cannot find macro `vec` in this scope
   --> src/uint/encoding/der.rs:244:23
    |
244 |         let mut der = vec![0x02, 17, 0x01];
    |                       ^^^

error: could not compile `crypto-bigint` (lib test) due to 1 previous error

Steps to reproduce are "cargo test with the der feature enabled".

Thanks!

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