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

Improve bug! message for impossible case in Relate #54679

Merged
merged 1 commit into from Oct 1, 2018

Conversation

@phansch
Copy link
Member

@phansch phansch commented Sep 29, 2018

Hitting this branch in Clippy and I think it makes sense to print
both values here in case other people hit this branch, too.

(still have to figure out why this branch is hit)

Hitting this branch in Clippy and I think it makes sense to print
both values here in case other people hit this branch, too.
@rust-highfive
Copy link
Collaborator

@rust-highfive rust-highfive commented Sep 29, 2018

r? @matthewjasper

(rust_highfive has picked a reviewer for you, use r? to override)

@tmandry
Copy link
Contributor

@tmandry tmandry commented Sep 29, 2018

@bors r+

@bors
Copy link
Contributor

@bors bors commented Sep 29, 2018

@tmandry: 🔑 Insufficient privileges: Not in reviewers

@tmandry
Copy link
Contributor

@tmandry tmandry commented Sep 29, 2018

Looks like bors hasn’t updated yet, you’re the first PR I tried to r+ ☺️

@matthewjasper
Copy link
Contributor

@matthewjasper matthewjasper commented Sep 29, 2018

@bors r+

@bors
Copy link
Contributor

@bors bors commented Sep 29, 2018

📌 Commit d654e3c has been approved by matthewjasper

@kennytm
Copy link
Member

@kennytm kennytm commented Oct 1, 2018

@bors rollup

kennytm added a commit to kennytm/rust that referenced this pull request Oct 1, 2018
…hewjasper

Improve bug! message for impossible case in Relate

Hitting this branch [in Clippy][clippy_issue] and I think it makes sense to print
both values here in case other people hit this branch, too.

(still have to figure out why this branch is hit)

[clippy_issue]: rust-lang/rust-clippy#2831 (comment)
bors added a commit that referenced this pull request Oct 1, 2018
Rollup of 10 pull requests

Successful merges:

 - #53784 (Document that slices cannot be larger than `isize::MAX` bytes)
 - #54308 (Better user experience when attempting to call associated functions with dot notation)
 - #54488 (in which we include attributes in unused `extern crate` suggestion spans)
 - #54544 (Indicate how to move value out of Box in docs.)
 - #54623 (Added help message for `impl_trait_in_bindings` feature gate)
 - #54641 (A few cleanups and minor improvements to rustc/infer)
 - #54656 (Correct doc for WorkQueue<T>::pop().)
 - #54679 (Improve bug! message for impossible case in Relate)
 - #54681 (Rename sanitizer runtime libraries on OSX)
 - #54708 (Make ./x.py help <cmd> invoke ./x.py <cmd> -h on its own )

Failed merges:

r? @ghost
bors added a commit that referenced this pull request Oct 1, 2018
Rollup of 13 pull requests

Successful merges:

 - #53784 (Document that slices cannot be larger than `isize::MAX` bytes)
 - #54308 (Better user experience when attempting to call associated functions with dot notation)
 - #54488 (in which we include attributes in unused `extern crate` suggestion spans)
 - #54544 (Indicate how to move value out of Box in docs.)
 - #54623 (Added help message for `impl_trait_in_bindings` feature gate)
 - #54641 (A few cleanups and minor improvements to rustc/infer)
 - #54656 (Correct doc for WorkQueue<T>::pop().)
 - #54674 (update miri)
 - #54676 (Remove `-Z disable_ast_check_for_mutation_in_guard`)
 - #54679 (Improve bug! message for impossible case in Relate)
 - #54681 (Rename sanitizer runtime libraries on OSX)
 - #54708 (Make ./x.py help <cmd> invoke ./x.py <cmd> -h on its own)
 - #54713 (Add nightly check for tool_lints warning)
@bors bors merged commit d654e3c into rust-lang:master Oct 1, 2018
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@phansch phansch deleted the phansch:improve_bug_message branch Oct 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

6 participants
You can’t perform that action at this time.