mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
Update help message and add regression test
This commit is contained in:
parent
b18a426fb4
commit
0401a9935f
@ -412,12 +412,7 @@ fn opts() -> Vec<RustcOptGroup> {
|
||||
)
|
||||
}),
|
||||
unstable("test-builder", |o| {
|
||||
o.optopt(
|
||||
"",
|
||||
"test-builder",
|
||||
"specifies the rustc-like binary to use as the test builder",
|
||||
"PATH",
|
||||
)
|
||||
o.optopt("", "test-builder", "The rustc-like binary to use as the test builder", "PATH")
|
||||
}),
|
||||
unstable("check", |o| o.optflag("", "check", "Run rustdoc checks")),
|
||||
]
|
||||
|
7
src/test/rustdoc/issue-80893.rs
Normal file
7
src/test/rustdoc/issue-80893.rs
Normal file
@ -0,0 +1,7 @@
|
||||
// compile-flags: --test -Z unstable-options --test-builder true --runtool true
|
||||
|
||||
/// ```
|
||||
/// This does not compile, but specifying a custom --test-builder should let this pass anyway
|
||||
/// `true` does not generate an output file to run, so we also specify it as a runtool
|
||||
/// ```
|
||||
pub struct Foo;
|
Loading…
Reference in New Issue
Block a user