diff options
| author | Zack M. Davis <code@zackmdavis.net> | 2017-11-24 10:26:42 -0800 |
|---|---|---|
| committer | Zack M. Davis <code@zackmdavis.net> | 2017-12-09 16:33:32 -0800 |
| commit | 883f5e5e657e714650d34cfb271abd8015210d08 (patch) | |
| tree | 0cb7a4bc852809787b3c31b13ed579295868f718 /src/test/incremental/thinlto | |
| parent | 6fa53b00e7450060a3af9b1ef63169db37e589c2 (diff) | |
| download | rust-883f5e5e657e714650d34cfb271abd8015210d08.tar.gz rust-883f5e5e657e714650d34cfb271abd8015210d08.zip | |
one-time diagnostics: span_suggestion, generalize methods for non-lints
304c8b1edabcd made the Session's one-time-diagnostics set take a special-purpose `DiagnosticMessageId` enum rather than a LintID so that it could support more than just lints, but the `diag_span_note_once` and `diag_note_once` methods continued to take references to lints: for API consistency, we now make these methods take a `DiagnosticMessageId` while we add support for one-time span-suggestions.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
