about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-02-01 04:47:46 +0000
committerbors <bors@rust-lang.org>2018-02-01 04:47:46 +0000
commit26792f0607bea2b03daa5195c2688fd53289042b (patch)
tree35a3660501f3d9c285d4fbfcdf2efd01777574a5 /src/rustllvm/RustWrapper.cpp
parent8ccab7eed5f4fc93500fbf242e575073ca70d7cb (diff)
parent540f95d9fad41a605e4c8b898d77f47374a76cbd (diff)
downloadrust-26792f0607bea2b03daa5195c2688fd53289042b.tar.gz
rust-26792f0607bea2b03daa5195c2688fd53289042b.zip
Auto merge of #47540 - Manishearth:suggestion, r=nrc
Add approximate suggestions for rustfix

This adds `span_approximate_suggestion()` that lets you emit a
suggestion marked as "non-machine applicable" in the JSON output. UI
users see no difference. This is for when rustc and clippy wish to
 emit suggestions which will make sense to the reader (e.g. they may
have placeholders like `<type>`) but are not source-applicable, so that
rustfix/etc can ignore these.

fixes #39254
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions