Skip to content

Conversation

cjgillot
Copy link
Contributor

@cjgillot cjgillot commented May 7, 2022

Split from #91743
r? @compiler-errors

@rustbot rustbot added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label May 7, 2022
@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 7, 2022
Copy link
Member

@compiler-errors compiler-errors left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me after tiny nit

@@ -432,6 +432,9 @@ pub fn impossible_predicates<'tcx>(
debug!("impossible_predicates(predicates={:?})", predicates);

let result = tcx.infer_ctxt().enter(|infcx| {
// Set tainted by errors to gracefully exit in case of overflow.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would mark this as HACK or something, since it's technically not using the flag correctly, right? I think it's fine otherwise.

@cjgillot cjgillot force-pushed the impossible-trait branch from af34d6d to 69e5b2f Compare May 7, 2022 16:18
@cjgillot
Copy link
Contributor Author

cjgillot commented May 7, 2022

@bors r=compiler-errors

@bors
Copy link
Collaborator

bors commented May 7, 2022

📌 Commit 69e5b2f has been approved by compiler-errors

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 7, 2022
@bors
Copy link
Collaborator

bors commented May 10, 2022

⌛ Testing commit 69e5b2f with merge 2226f19...

@bors
Copy link
Collaborator

bors commented May 10, 2022

☀️ Test successful - checks-actions
Approved by: compiler-errors
Pushing 2226f19 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label May 10, 2022
@bors bors merged commit 2226f19 into rust-lang:master May 10, 2022
@rustbot rustbot added this to the 1.62.0 milestone May 10, 2022
@bors bors mentioned this pull request May 10, 2022
6 tasks
@rust-timer
Copy link
Collaborator

Finished benchmarking commit (2226f19): comparison url.

Summary: This benchmark run did not return any relevant results.

If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf.

@rustbot label: -perf-regression

@cjgillot cjgillot deleted the impossible-trait branch May 11, 2022 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants