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

Revert "Remove unused methods from MultiSpan" #35094

Merged
merged 1 commit into from
Jul 30, 2016
Merged

Conversation

mcarton
Copy link
Member

@mcarton mcarton commented Jul 28, 2016

This reverts commit f7019a4.

That commit removed the only way to make a suggestion with more than one substitute. That feature is not used directly by rustc but exists and is used by Clippy. Bring it back until we come up with a better solution (suggestions don't use span labels, so it would make sense for them to use their own type).
Rational there: https://github.com/Manishearth/rust-clippy/pull/1119.

r? @jonathandturner
Cc @Manishearth

This reverts commit f7019a4.

This removed the only way to make a suggestion with more than one
substitute. Bring it back until we come up with a better solution.
@sophiajt
Copy link
Contributor

@bors r+

@bors
Copy link
Contributor

bors commented Jul 28, 2016

📌 Commit 6dc98cf has been approved by jonathandturner

@alexcrichton
Copy link
Member

@bors: rollup

steveklabnik added a commit to steveklabnik/rust that referenced this pull request Jul 30, 2016
Revert "Remove unused methods from MultiSpan"

This reverts commit f7019a4.

That commit removed the only way to make a suggestion with more than one substitute. That feature is not used directly by rustc but exists and is used by Clippy. Bring it back until we come up with a better solution (suggestions don't use span labels, so it would make sense for them to use their own type).
Rational there: https://github.com/Manishearth/rust-clippy/pull/1119.

r? @jonathandturner
Cc @Manishearth
Manishearth added a commit to Manishearth/rust that referenced this pull request Jul 30, 2016
Revert "Remove unused methods from MultiSpan"

This reverts commit f7019a4.

That commit removed the only way to make a suggestion with more than one substitute. That feature is not used directly by rustc but exists and is used by Clippy. Bring it back until we come up with a better solution (suggestions don't use span labels, so it would make sense for them to use their own type).
Rational there: https://github.com/Manishearth/rust-clippy/pull/1119.

r? @jonathandturner
Cc @Manishearth
bors added a commit that referenced this pull request Jul 30, 2016
Rollup of 8 pull requests

- Successful merges: #35049, #35058, #35063, #35080, #35090, #35094, #35104, #35106
- Failed merges:
@bors bors merged commit 6dc98cf into rust-lang:master Jul 30, 2016
@mcarton mcarton deleted the multispan branch July 30, 2016 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants