Skip to content

Address build warning #2987

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

Merged
merged 1 commit into from
Aug 1, 2018
Merged

Conversation

aaudiber
Copy link
Contributor

@aaudiber aaudiber commented Aug 1, 2018

warning: unused variable: `expr`
    --> clippy_lints/src/methods.rs:1888:67
     |
1888 | fn lint_single_char_pattern<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, expr: &'tcx hir::Expr, arg: &'tcx hir::Expr) {
     |                                                                   ^^^^ help: consider using `_expr` instead
     |
     = note: #[warn(unused_variables)] on by default

@phansch phansch merged commit b60c887 into rust-lang:master Aug 1, 2018
@phansch
Copy link
Member

phansch commented Aug 1, 2018

Thanks!

@flip1995
Copy link
Member

flip1995 commented Aug 1, 2018

Oh that was my bad! Thanks!

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

Successfully merging this pull request may close these issues.

3 participants