We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
DiagCtxtHandle::err_count
1 parent c9c1d53 commit 8649755Copy full SHA for 8649755
1 file changed
compiler/rustc_errors/src/lib.rs
@@ -729,7 +729,7 @@ impl<'a> DiagCtxtHandle<'a> {
729
730
/// The number of errors that have been emitted on the *current thread*.
731
///
732
- /// Unlike [`DiagCtxt::err_count`], which counts errors emitted by all
+ /// Unlike [`DiagCtxtHandle::err_count`], which counts errors emitted by all
733
/// threads, this only counts errors emitted by the calling thread. It is
734
/// meant for code that takes a before/after delta to detect whether a unit
735
/// of work emitted an error, and must not be misled by errors emitted on
0 commit comments