Skip to content

Avoid .unwrap()s on .span_to_snippet(...)s - #70725

Merged
bors merged 3 commits into
rust-lang:masterfrom
Centril:nix-unwraps
Apr 3, 2020
Merged

Avoid .unwrap()s on .span_to_snippet(...)s#70725
bors merged 3 commits into
rust-lang:masterfrom
Centril:nix-unwraps

Conversation

@Centril

Copy link
Copy Markdown
Contributor

First commit fixes#70724 and the others fix similar issues found by grepping.

r? @estebank

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 3, 2020
@estebank

Copy link
Copy Markdown
Contributor

R=me once ci is happy

@Centril

Copy link
Copy Markdown
ContributorAuthor

@bors r=estebank

@bors

bors commented Apr 3, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit 5cb5dde has been approved by estebank

@borsbors 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 Apr 3, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 3, 2020
Rollup of 6 pull requests
Successful merges:
- rust-lang#70696 (Extend rust-lang#69020 test to include reversed operand order.)
- rust-lang#70706 (Minor cleanup in rustdoc --check-theme)
- rust-lang#70725 (Avoid `.unwrap()`s on `.span_to_snippet(...)`s)
- rust-lang#70728 (Minor doc improvements on `AllocRef`)
- rust-lang#70730 (Fix link in task::Wake docs)
- rust-lang#70731 (Minor follow-up after renaming librustc(_middle))
Failed merges:
r? @ghost
@bors
bors merged commit b91c376 into rust-lang:masterApr 3, 2020
@Centril
Centril deleted the nix-unwraps branch April 3, 2020 19:54
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

thread 'rustc' panicked at 'called Result::unwrap() on an Err value: SourceNotAvailable

4 participants

@Centril@estebank@bors@rust-highfive