Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
CAD97 opened this issue May 14, 2018 · 0 comments
Closed

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

CAD97 opened this issue May 14, 2018 · 0 comments

Comments

@CAD97
Copy link
Contributor

CAD97 commented May 14, 2018

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.

@CAD97 CAD97 changed the title Compile fail on Compile fail on nightly 9e53ac6e6 May 14, 2018
@CAD97 CAD97 changed the title Compile fail on nightly 9e53ac6e6 Compile fail on nightly 9fae15374 May 14, 2018
@CAD97 CAD97 changed the title Compile fail on nightly 9fae15374 Compile fail on nightly (9fae15374 2018-05-13) May 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant