diff options
| author | Zack M. Davis <code@zackmdavis.net> | 2018-09-29 17:25:26 -0700 |
|---|---|---|
| committer | Zack M. Davis <code@zackmdavis.net> | 2018-10-27 12:28:48 -0700 |
| commit | 630c6a544f91a29f2a1749dd438e7082400295da (patch) | |
| tree | 1d6100acf111dbce3aaf8c81272b18403a57f454 /src/rustllvm/RustWrapper.cpp | |
| parent | f32f1113c93fe84f252293ae4af86be1ceae4a84 (diff) | |
| download | rust-630c6a544f91a29f2a1749dd438e7082400295da.tar.gz rust-630c6a544f91a29f2a1749dd438e7082400295da.zip | |
introducing lint reason annotations (RFC 2383)
This is just for the `reason =` name-value meta-item; the `#[expect(lint)]` attribute also described in the RFC is a problem for another day. The place where we were directly calling `emit()` on a match block (whose arms returned a mutable reference to a diagnostic-builder) was admittedly cute, but no longer plausibly natural after adding the if-let to the end of the `LintSource::Node` arm. This regards #54503.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
