Skip to content

Revised span-to-lines conversion to produce an empty vec on DUMMY_SP. #70199

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Conversation

pnkfelix
Copy link
Member

This required revising some of the client code to stop relying on the returned set of lines being non-empty.

Fix #68808

This required revising some of the client code to stop relying on
the returned set of lines being non-empty.
@rust-highfive
Copy link
Contributor

r? @cramertj

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

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 20, 2020
@Centril
Copy link
Contributor

Centril commented Mar 20, 2020

r? @estebank

@rust-highfive rust-highfive assigned estebank and unassigned cramertj Mar 20, 2020
@estebank
Copy link
Contributor

r=me after addressing Centril's request

Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
@pnkfelix
Copy link
Member Author

@bors r=estebank

@bors
Copy link
Collaborator

bors commented Mar 23, 2020

📌 Commit 763121d has been approved by estebank

@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 Mar 23, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Mar 23, 2020
Rollup of 9 pull requests

Successful merges:

 - rust-lang#68700 (Add Wake trait for safe construction of Wakers.)
 - rust-lang#69494 (Stabilize --crate-version option in rustdoc)
 - rust-lang#70080 (rustc_mir: remove extra space when pretty-printing MIR.)
 - rust-lang#70195 (Add test for issue rust-lang#53275)
 - rust-lang#70199 (Revised span-to-lines conversion to produce an empty vec on DUMMY_SP.)
 - rust-lang#70299 (add err_machine_stop macro)
 - rust-lang#70300 (Reword unused variable warning)
 - rust-lang#70315 (Rename remaining occurences of Void to Opaque.)
 - rust-lang#70318 (Split long derive lists into two derive attributes.)

Failed merges:

r? @ghost
@bors bors merged commit 560eae3 into rust-lang:master Mar 23, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
S-waiting-on-bors Status: 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.

cargo check --message-format json regression of error span data on empty main.rs file
6 participants