File tree 3 files changed +12
-5
lines changed
tests/run-make/unstable-flag-required
3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -129,5 +129,4 @@ run-make/test-benches/Makefile
129
129
run-make/thumb-none-cortex-m/Makefile
130
130
run-make/thumb-none-qemu/Makefile
131
131
run-make/translation/Makefile
132
- run-make/unstable-flag-required/Makefile
133
132
run-make/x86_64-fortanix-unknown-sgx-lvi/Makefile
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ // The flag `--output-format` is unauthorized on beta and stable releases, which led
2
+ // to confusion for maintainers doing testing on nightly. Tying it to an unstable flag
3
+ // elucidates this, and this test checks that `--output-format` cannot be passed on its
4
+ // own.
5
+ // See https://github.com/rust-lang/rust/pull/82497
6
+
7
+ use run_make_support:: { diff, rustdoc} ;
8
+
9
+ fn main ( ) {
10
+ let out = rustdoc ( ) . output_format ( "json" ) . input ( "x.html" ) . run_fail ( ) . stderr_utf8 ( ) ;
11
+ diff ( ) . expected_file ( "output-format-json.stderr" ) . actual_text ( "actual-json" , out) . run ( ) ;
12
+ }
You can’t perform that action at this time.
0 commit comments