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

Rustup to latest nightly #2703

merged 1 commit into from Apr 28, 2018

Rustup to latest nightly #2703

merged 1 commit into from Apr 28, 2018


Copy link

@phansch phansch commented Apr 28, 2018

@oli-obk oli-obk merged commit 1742229 into rust-lang:master Apr 28, 2018
2 checks passed
2 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
continuous-integration/travis-ci/pr The Travis CI build passed
@phansch phansch deleted the phansch:rustup20180427 branch Apr 28, 2018
@@ -302,7 +302,7 @@ pub fn implements_trait<'a, 'tcx>(
.predicate_for_trait_def(cx.param_env, traits::ObligationCause::dummy(), trait_id, 0, ty, ty_params);
cx.tcx.infer_ctxt().enter(|infcx| {

This comment has been minimized.


aravind-pg Apr 30, 2018

Sorry, didn't see this PR earlier but this could just be infcx.predicate_must_hold(...) --- i.e., no need to create a SelectionContext. No functional difference though, and I suppose not much perf difference in practice either, so not a big deal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants