diff options
Diffstat (limited to 'tests/rustdoc-ui/generate-link-to-definition-opt2.rs')
-rw-r--r-- | tests/rustdoc-ui/generate-link-to-definition-opt2.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/generate-link-to-definition-opt2.rs b/tests/rustdoc-ui/generate-link-to-definition-opt2.rs new file mode 100644 index 000000000..da5142087 --- /dev/null +++ b/tests/rustdoc-ui/generate-link-to-definition-opt2.rs @@ -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() {} |