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

simplify some internal code #2709

Closed
oli-obk opened this issue May 1, 2018 · 0 comments
Closed

simplify some internal code #2709

oli-obk opened this issue May 1, 2018 · 0 comments
Labels
good-first-issue These issues are a good way to get started with Clippy

Comments

@oli-obk
Copy link
Contributor

oli-obk commented May 1, 2018

traits::SelectionContext::new(&infcx).infcx().predicate_must_hold(..)

should be

infcx.predicate_must_hold(..)

according to #2703 (comment)

@oli-obk oli-obk added the good-first-issue These issues are a good way to get started with Clippy label May 1, 2018
imp added a commit to imp/rust-clippy that referenced this issue May 1, 2018
@phansch phansch closed this as completed May 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good-first-issue These issues are a good way to get started with Clippy
Projects
None yet
Development

No branches or pull requests

2 participants