@@ -315,7 +315,7 @@ pub fn run_core(options: RustdocOptions) -> (clean::Crate, RenderInfo, RenderOpt
315
315
let missing_doc_example = rustc_lint:: builtin:: MISSING_DOC_CODE_EXAMPLES . name ;
316
316
let private_doc_tests = rustc_lint:: builtin:: PRIVATE_DOC_TESTS . name ;
317
317
let no_crate_level_docs = rustc_lint:: builtin:: MISSING_CRATE_LEVEL_DOCS . name ;
318
- let invalid_codeblock_attribute_name = rustc_lint:: builtin:: INVALID_CODEBLOCK_ATTRIBUTES . name ;
318
+ let invalid_codeblock_attributes_name = rustc_lint:: builtin:: INVALID_CODEBLOCK_ATTRIBUTES . name ;
319
319
320
320
// In addition to those specific lints, we also need to allow those given through
321
321
// command line, otherwise they'll get ignored and we don't want that.
@@ -325,12 +325,12 @@ pub fn run_core(options: RustdocOptions) -> (clean::Crate, RenderInfo, RenderOpt
325
325
missing_doc_example. to_owned( ) ,
326
326
private_doc_tests. to_owned( ) ,
327
327
no_crate_level_docs. to_owned( ) ,
328
- invalid_codeblock_attribute_name . to_owned( ) ,
328
+ invalid_codeblock_attributes_name . to_owned( ) ,
329
329
] ;
330
330
331
331
let ( lint_opts, lint_caps) = init_lints ( allowed_lints, lint_opts, |lint| {
332
332
if lint. name == intra_link_resolution_failure_name
333
- || lint. name == invalid_codeblock_attribute_name
333
+ || lint. name == invalid_codeblock_attributes_name
334
334
{
335
335
None
336
336
} else {
0 commit comments