-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Use span_suggestion
instead of manually building suggestions
#442
Comments
Manishearth/compiletest-rs#30 is merged. Waiting on the new version to update dependency. |
This was referenced Dec 8, 2015
mcarton
added a commit
to mcarton/rust-clippy
that referenced
this issue
Jan 13, 2016
mcarton
added a commit
to mcarton/rust-clippy
that referenced
this issue
Jan 13, 2016
This was referenced Mar 9, 2016
Merged
I think we're doing this everywhere now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://manishearth.github.io/rust-internals-docs/rustc/session/struct.Session.html#method.span_suggestion
See, for example, the suggestion you get for http://is.gd/5k86CL, it's built by running span_suggestion with
format!("move {}", snippet_for_closure)
.The text was updated successfully, but these errors were encountered: