Move some rustdoc-ui tests to subdirectories
This commit is contained in:
parent
572c0d553f
commit
5fa975142f
145 changed files with 40 additions and 29 deletions
|
@ -0,0 +1,6 @@
|
|||
// This test purpose is to check that the "--generate-link-to-definition"
|
||||
// option can only be used on nightly.
|
||||
|
||||
// compile-flags: --generate-link-to-definition
|
||||
|
||||
pub fn f() {}
|
|
@ -0,0 +1,2 @@
|
|||
error: the `-Z unstable-options` flag must also be passed to enable the flag `generate-link-to-definition`
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
// This test purpose is to check that the "--generate-link-to-definition"
|
||||
// option can only be used with HTML generation.
|
||||
|
||||
// compile-flags: -Zunstable-options --generate-link-to-definition --output-format json
|
||||
|
||||
pub fn f() {}
|
|
@ -0,0 +1,2 @@
|
|||
error: --generate-link-to-definition option can only be used with HTML output format
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
// This test purpose is to check that the "--generate-link-to-definition"
|
||||
// option can only be used with HTML generation.
|
||||
|
||||
// compile-flags: -Zunstable-options --generate-link-to-definition --show-coverage
|
||||
|
||||
pub fn f() {}
|
|
@ -0,0 +1,2 @@
|
|||
error: --generate-link-to-definition option can only be used with HTML output format
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue