rust/src/test/ui/compare-method
Zack M. Davis 65b0554143 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.
2017-02-04 10:44:22 -08:00
..
proj-outlives-region.rs compare-method lint 2016-11-01 14:08:56 -04:00
proj-outlives-region.stderr note individual lint name set via lint group attribute in notes 2017-02-04 10:44:22 -08:00
proj-outlives-region.stdout compare-method lint 2016-11-01 14:08:56 -04:00
region-extra-2.rs move compile-fail tests to ui tests 2016-11-01 14:08:56 -04:00
region-extra-2.stderr Show multiline spans in full if short enough 2016-11-22 13:42:36 -08:00
region-extra.rs move compile-fail tests to ui tests 2016-11-01 14:08:56 -04:00
region-extra.stderr move compile-fail tests to ui tests 2016-11-01 14:08:56 -04:00
region-extra.stdout move compile-fail tests to ui tests 2016-11-01 14:08:56 -04:00
region-unrelated.rs compare-method lint 2016-11-01 14:08:56 -04:00
region-unrelated.stderr note individual lint name set via lint group attribute in notes 2017-02-04 10:44:22 -08:00
region-unrelated.stdout compare-method lint 2016-11-01 14:08:56 -04:00
reordered-type-param.rs move compile-fail tests to ui tests 2016-11-01 14:08:56 -04:00
reordered-type-param.stderr Teach Diagnostics to highlight text 2017-01-17 14:28:53 -08:00
trait-bound-on-type-parameter.rs move compile-fail tests to ui tests 2016-11-01 14:08:56 -04:00
trait-bound-on-type-parameter.stderr move compile-fail tests to ui tests 2016-11-01 14:08:56 -04:00
traits-misc-mismatch-1.rs move compile-fail tests to ui tests 2016-11-01 14:08:56 -04:00
traits-misc-mismatch-1.stderr move compile-fail tests to ui tests 2016-11-01 14:08:56 -04:00
traits-misc-mismatch-2.rs move compile-fail tests to ui tests 2016-11-01 14:08:56 -04:00
traits-misc-mismatch-2.stderr Show multiline spans in full if short enough 2016-11-22 13:42:36 -08:00