Skip to content

ndarray v0.3.1 causing compilation failures #22

Description

@JamesDavidCarr

Cloning the repo at 771bd5f192cec34da1f8348eafbd64b6a5e7e63e and attempting to cargo build fails because of:

Compiling ndarray v0.3.1 error[E0277]: the trait bound Self: std::marker::Sized is not satisfied --> /Users/.../.cargo/registry/src/github.com-1ecc6299db9ec823/ndarray-0.3.1/src/lib.rs:366:5 | 366 | unsafe fn clone_with_ptr(&self, ptr: *mut Self::Elem) -> (Self, *mut Self::Elem); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ trait Self: std::marker::Sized not satisfied | = help: consider adding a where Self: std::marker::Sized bound = note: tuple elements must have Sized type

Running cargo update resolved the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions