@@ -642,6 +642,15 @@ fn opts() -> Vec<RustcOptGroup> {
642642 "Includes trait implementations and other crate info from provided path. Only use with --merge=finalize" ,
643643 "path/to/doc.parts/<crate-name>" ,
644644 ) ,
645+ opt( Unstable , Flag , "" , "html-no-source" , "Disable HTML source code pages generation" , "" ) ,
646+ unstable( "doctest-compilation-args" , |o| {
647+ o. optmulti(
648+ "" ,
649+ "doctest-compilation-args" ,
650+ "" ,
651+ "add arguments to be used when compiling doctests" ,
652+ )
653+ } ) ,
645654 // deprecated / removed options
646655 opt( Unstable , FlagMulti , "" , "disable-minification" , "removed" , "" ) ,
647656 opt(
@@ -684,15 +693,6 @@ fn opts() -> Vec<RustcOptGroup> {
684693 "removed, see issue #44136 <https://github.com/rust-lang/rust/issues/44136> for more information" ,
685694 "[rust]" ,
686695 ) ,
687- opt( Unstable , Flag , "" , "html-no-source" , "Disable HTML source code pages generation" , "" ) ,
688- unstable( "doctest-compilation-args" , |o| {
689- o. optmulti(
690- "" ,
691- "doctest-compilation-args" ,
692- "" ,
693- "add arguments to be used when compiling doctests" ,
694- )
695- } ) ,
696696 ]
697697}
698698
0 commit comments