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

lint: assert!(x == y) #641

Closed
llogiq opened this issue Feb 8, 2016 · 1 comment
Closed

lint: assert!(x == y) #641

llogiq opened this issue Feb 8, 2016 · 1 comment
Labels
A-lint Area: New lints E-medium Call for participation: Medium difficulty level problem and requires some initial experience. L-style Lint: Belongs in the style lint group T-middle Type: Probably requires verifiying types

Comments

@llogiq
Copy link
Contributor

llogiq commented Feb 8, 2016

Suggest assert_eq!(x, y) for better reporting.

@mcarton
Copy link
Member

mcarton commented Feb 8, 2016

Only if x and y implement Debug.

@mcarton mcarton added E-medium Call for participation: Medium difficulty level problem and requires some initial experience. T-middle Type: Probably requires verifiying types A-lint Area: New lints L-style Lint: Belongs in the style lint group labels Aug 17, 2016
sinkuu added a commit to sinkuu/rust-clippy that referenced this issue Feb 17, 2017
sinkuu added a commit to sinkuu/rust-clippy that referenced this issue Feb 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-lint Area: New lints E-medium Call for participation: Medium difficulty level problem and requires some initial experience. L-style Lint: Belongs in the style lint group T-middle Type: Probably requires verifiying types
Projects
None yet
Development

No branches or pull requests

2 participants