Promote regular comments to rustdoc comments
This commit is contained in:
parent
7bf33f00bf
commit
56c0125568
@ -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>>,
|
||||
}
|
||||
|
||||
|
@ -55,7 +55,7 @@ enum QueryModifier {
|
||||
/// Generate a dep node based on the dependencies of the query
|
||||
Anon,
|
||||
|
||||
// Always evaluate the query, ignoring its depdendencies
|
||||
/// Always evaluate the query, ignoring its depdendencies
|
||||
EvalAlways,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user