diff options
| author | bors <bors@rust-lang.org> | 2019-04-17 13:26:29 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-04-17 13:26:29 +0000 |
| commit | 6ed6f1461dd0d89c85a334f8d8ce7957611f2dfe (patch) | |
| tree | d6e75c1b8ab0cab86bb1b3360c35c04aecc28c14 /src/librustc_errors | |
| parent | efe2f32a6b8217425f361ec7c206910c611c03ee (diff) | |
| parent | 56c01255686ea66e04835447aa3971fd0d9807f5 (diff) | |
| download | rust-6ed6f1461dd0d89c85a334f8d8ce7957611f2dfe.tar.gz rust-6ed6f1461dd0d89c85a334f8d8ce7957611f2dfe.zip | |
Auto merge of #60034 - rasendubi:fix-comments, r=Centril
Small comments fix - Fix comments around test harness generation - Promote regular comments to rustdoc comments
Diffstat (limited to 'src/librustc_errors')
| -rw-r--r-- | src/librustc_errors/lib.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/librustc_errors/lib.rs b/src/librustc_errors/lib.rs index cb45e13c4d2..7da1a652553 100644 --- a/src/librustc_errors/lib.rs +++ b/src/librustc_errors/lib.rs @@ -304,17 +304,17 @@ pub struct Handler { continue_after_error: AtomicBool, delayed_span_bugs: Lock<Vec<Diagnostic>>, - // This set contains the `DiagnosticId` of all emitted diagnostics to avoid - // emitting the same diagnostic with extended help (`--teach`) twice, which - // would be uneccessary repetition. + /// This set contains the `DiagnosticId` of all emitted diagnostics to avoid + /// emitting the same diagnostic with extended help (`--teach`) twice, which + /// would be uneccessary repetition. taught_diagnostics: Lock<FxHashSet<DiagnosticId>>, /// Used to suggest rustc --explain <error code> emitted_diagnostic_codes: Lock<FxHashSet<DiagnosticId>>, - // This set contains a hash of every diagnostic that has been emitted by - // this handler. These hashes is used to avoid emitting the same error - // twice. + /// This set contains a hash of every diagnostic that has been emitted by + /// this handler. These hashes is used to avoid emitting the same error + /// twice. emitted_diagnostics: Lock<FxHashSet<u128>>, } |
