diff options
| author | Zack M. Davis <code@zackmdavis.net> | 2017-01-05 18:55:36 -0800 |
|---|---|---|
| committer | Zack M. Davis <code@zackmdavis.net> | 2017-02-04 10:44:22 -0800 |
| commit | 65b05541432c1fe7b75fb2dd3b020f933f3b5f4b (patch) | |
| tree | 6035bf5af6d02854d5d79ab8effeb1806bb1cb4b /src/test/run-pass/thinlto | |
| parent | 8967085617f13fd11067e632f4f29e7eb013c1fd (diff) | |
| download | rust-65b05541432c1fe7b75fb2dd3b020f933f3b5f4b.tar.gz rust-65b05541432c1fe7b75fb2dd3b020f933f3b5f4b.zip | |
note individual lint name set via lint group attribute in notes
Warning or error messages set via a lint group attribute (e.g. `#[deny(warnings)]`) should still make it clear which individual lint (by name) was triggered, similarly to how we include "on by default" language for default lints. This—and, while we're here, the existing "on by default" language—can be tucked into a note rather than cluttering the main error message. This occasions the slightest of refactorings (we now have to get the diagnostic-builder with the main message first, before matching on the lint source). This is in the matter of #36846.
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions
