Skip to content

type &[u8] does not implement any method in scope named slice #13

Closed
@dtantsur

Description

@dtantsur

recent build is failing with

/home/dtantsur/Projects/num/src/complex.rs:222:5: 222:40 warning: The use of cfg filters in #[ignore] is deprecated. Use #[cfg_attr(<cfg pattern>, ignore)] instead.
/home/dtantsur/Projects/num/src/complex.rs:222     #[ignore(cfg(target_arch = "x86"))]
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/dtantsur/Projects/num/src/bigint.rs:736:41: 736:58 error: type `&[u8]` does not implement any method in scope named `slice`
/home/dtantsur/Projects/num/src/bigint.rs:736             match uint::parse_bytes(buf.slice(start, end), radix) {
                                                                                      ^~~~~~~~~~~~~~~~~
/home/dtantsur/Projects/num/src/bigint.rs:1407:41: 1407:64 error: type `&[u8]` does not implement any method in scope named `slice`
/home/dtantsur/Projects/num/src/bigint.rs:1407         return BigUint::parse_bytes(buf.slice(start, buf.len()), radix)
                                                                                       ^~~~~~~~~~~~~~~~~~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions