about summary refs log tree commit diff
path: root/src/librustdoc/html
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2020-12-30 14:11:15 -0500
committerJoshua Nelson <jyn514@gmail.com>2021-03-01 19:29:15 -0500
commit37e4cfe5125e1d8d29fd1a66c7f80109c25618fb (patch)
tree2138bbdc6a0bf113f126c6035bb2932097cee224 /src/librustdoc/html
parentcc62018e61edfa9706b8e4e61d1b571bdee7827d (diff)
downloadrust-37e4cfe5125e1d8d29fd1a66c7f80109c25618fb.tar.gz
rust-37e4cfe5125e1d8d29fd1a66c7f80109c25618fb.zip
Move lint machinery into a separate file
Diffstat (limited to 'src/librustdoc/html')
-rw-r--r--src/librustdoc/html/markdown.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/markdown.rs b/src/librustdoc/html/markdown.rs
index 8c8840e38e6..f8ca259fb9a 100644
--- a/src/librustdoc/html/markdown.rs
+++ b/src/librustdoc/html/markdown.rs
@@ -720,7 +720,7 @@ impl<'tcx> ExtraInfo<'tcx> {
             (None, None) => return,
         };
         self.tcx.struct_span_lint_hir(
-            crate::core::INVALID_CODEBLOCK_ATTRIBUTES,
+            crate::lint::INVALID_CODEBLOCK_ATTRIBUTES,
             hir_id,
             self.sp,
             |lint| {