Skip to content

"cannot call a generic method through an object" #102

Closed
@oblitum

Description

@oblitum

I've just built rust HEAD and I'm getting this error for the try macro at src/cargo/lib.rs when building cargo.

src/cargo/lib.rs:51:1: 59:2 note: in expansion of try!
src/cargo/util/toml.rs:192:23: 194:13 note: expansion site
src/cargo/lib.rs:54:35: 54:49 error: cannot call a generic method through an object
src/cargo/lib.rs:54         match $expr.map_err(|err| err.to_error()) {
                                                      ^~~~~~~~~~~~~~

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