about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2020-12-01 17:41:09 -0500
committerJoshua Nelson <jyn514@gmail.com>2020-12-18 15:22:51 -0500
commit35f16c60e7d3fd1b42c90a0fc084689c817345cb (patch)
treefdd0b51ddd9b829f07541125daf67eacb7510f2f /compiler/rustc_errors/src
parentd8d3ab96aa94423f1bdfbb605098a506ab5edc7e (diff)
downloadrust-35f16c60e7d3fd1b42c90a0fc084689c817345cb.tar.gz
rust-35f16c60e7d3fd1b42c90a0fc084689c817345cb.zip
Switch compiler/ to intra-doc links
rustc_lint and rustc_lint_defs weren't switched because they're included
in the compiler book and so can't use intra-doc links.
Diffstat (limited to 'compiler/rustc_errors/src')
-rw-r--r--compiler/rustc_errors/src/diagnostic.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_errors/src/diagnostic.rs b/compiler/rustc_errors/src/diagnostic.rs
index 538e1a59ab8..e61476bf23e 100644
--- a/compiler/rustc_errors/src/diagnostic.rs
+++ b/compiler/rustc_errors/src/diagnostic.rs
@@ -138,8 +138,6 @@ impl Diagnostic {
     ///
     /// This span is *not* considered a ["primary span"][`MultiSpan`]; only
     /// the `Span` supplied when creating the diagnostic is primary.
-    ///
-    /// [`MultiSpan`]: ../rustc_span/struct.MultiSpan.html
     pub fn span_label<T: Into<String>>(&mut self, span: Span, label: T) -> &mut Self {
         self.span.push_span_label(span, label.into());
         self