diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-04-26 18:51:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-26 18:51:40 +0200 |
| commit | 309496cf29cba30985a55cd5a07872587cfa9da0 (patch) | |
| tree | 9006cb2257fc20aa856bef68b5d333e4d124569b /compiler/rustc_interface/src/errors.rs | |
| parent | 8763965a2c7b68a33af5fc55999f9eff26749fd6 (diff) | |
| parent | 01385136353ac35f16d10bf5890bf0efc80df761 (diff) | |
| download | rust-309496cf29cba30985a55cd5a07872587cfa9da0.tar.gz rust-309496cf29cba30985a55cd5a07872587cfa9da0.zip | |
Rollup merge of #108760 - clubby789:autolintstuff, r=wesleywiser
Add lint to deny diagnostics composed of static strings
r? ghost
I'm hoping to have a lint that semi-automatically converts simple diagnostics such as `struct_span_err(span, "msg").help("msg").span_note(span2, "msg").emit()` to typed session diagnostics. It's quite hacky and not entirely working because of problems with `x fix` but should hopefully help reduce some of the work.
I'm going to start trying to apply what I can from this, but opening this as a draft in case anyone wants to develop on it.
cc #100717
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
