about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorZack M. Davis <code@zackmdavis.net>2017-01-05 18:55:36 -0800
committerZack M. Davis <code@zackmdavis.net>2017-02-04 10:44:22 -0800
commit65b05541432c1fe7b75fb2dd3b020f933f3b5f4b (patch)
tree6035bf5af6d02854d5d79ab8effeb1806bb1cb4b /src/test/run-pass/thinlto
parent8967085617f13fd11067e632f4f29e7eb013c1fd (diff)
downloadrust-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