Don't unwrap the result of span_to_snippet#63859
Merged
bors merged 1 commit intorust-lang:masterfrom Aug 25, 2019
Merged
Conversation
It can return `Err` due to macros being expanded across crates or files.
Contributor
|
r? @cramertj (rust_highfive has picked a reviewer for you, use r? to override) |
Contributor
Collaborator
|
📌 Commit 365ff62 has been approved by |
Centril
added a commit
to Centril/rust
that referenced
this pull request
Aug 24, 2019
… r=Centril Don't unwrap the result of `span_to_snippet` Closes rust-lang#63800
Centril
added a commit
to Centril/rust
that referenced
this pull request
Aug 25, 2019
… r=Centril Don't unwrap the result of `span_to_snippet` Closes rust-lang#63800
bors
added a commit
that referenced
this pull request
Aug 25, 2019
Rollup of 6 pull requests Successful merges: - #62744 (Refactor `TinyList::contains` and `len` to iterate instead of recurse) - #63813 (Do not suggest `.try_into()` on `i32::from(x)`) - #63833 (Suggest calling closure with resolved return type when appropriate) - #63839 (Ensure miri can do bit ops on pointer values) - #63854 (Modifies how Arg, Arm, Field, FieldPattern and Variant are visited) - #63859 (Don't unwrap the result of `span_to_snippet`) Failed merges: r? @ghost
Collaborator
|
☔ The latest upstream changes (presumably #63873) made this pull request unmergeable. Please resolve the merge conflicts. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #63800