File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed
tests/run-make/rustdoc-output-path Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -245,7 +245,6 @@ run-make/rlib-format-packed-bundled-libs/Makefile
245245run-make/rmeta-preferred/Makefile
246246run-make/rustc-macro-dep-files/Makefile
247247run-make/rustdoc-io-error/Makefile
248- run-make/rustdoc-output-path/Makefile
249248run-make/rustdoc-scrape-examples-invalid-expr/Makefile
250249run-make/rustdoc-scrape-examples-macros/Makefile
251250run-make/rustdoc-scrape-examples-multiple/Makefile
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ // Checks that if the output folder doesn't exist, rustdoc will create it.
2+
3+ use run_make_support:: { rustdoc, tmp_dir} ;
4+
5+ fn main ( ) {
6+ let out_dir = tmp_dir ( ) . join ( "foo/bar/doc" ) ;
7+ rustdoc ( ) . input ( "foo.rs" ) . output ( & out_dir) . run ( ) ;
8+ assert ! ( out_dir. exists( ) ) ;
9+ }
You can’t perform that action at this time.
0 commit comments