-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rewrite unstable-flag-required to rmake
- Loading branch information
Showing
3 changed files
with
12 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// The flag `--output-format` is unauthorized on beta and stable releases, which led | ||
// to confusion for maintainers doing testing on nightly. Tying it to an unstable flag | ||
// elucidates this, and this test checks that `--output-format` cannot be passed on its | ||
// own. | ||
// See https://github.com/rust-lang/rust/pull/82497 | ||
|
||
use run_make_support::{diff, rustdoc}; | ||
|
||
fn main() { | ||
let out = rustdoc().output_format("json").input("x.html").run_fail().stderr_utf8(); | ||
diff().expected_file("output-format-json.stderr").actual_text("actual-json", out).run(); | ||
} |