Skip to content

Compile fail on nightly (9fae15374 2018-05-13) #2757

Closed
@CAD97

Description

@CAD97

It looks like the change is rust-lang/rust#50536. ParamEnv::can_type_implement_copy went from (TyCtxt, Ty, Span) -> Result<_, _> to (TyCtxt, Ty) -> Result<_, _>.

It looks like the only place this is called is

https://github.com/rust-lang-nursery/rust-clippy/blob/e6735dd3279684c9702851ad9f2e1cc2d7a53a87/clippy_lints/src/needless_pass_by_value.rs#L204

which should be fixable by just removing the span argument.

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