File tree 3 files changed +9
-5
lines changed
tests/run-make/rustdoc-output-path
3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -246,7 +246,6 @@ run-make/rmeta-preferred/Makefile
246
246
run-make/rustc-macro-dep-files/Makefile
247
247
run-make/rustdoc-io-error/Makefile
248
248
run-make/rustdoc-map-file/Makefile
249
- run-make/rustdoc-output-path/Makefile
250
249
run-make/rustdoc-scrape-examples-invalid-expr/Makefile
251
250
run-make/rustdoc-scrape-examples-macros/Makefile
252
251
run-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