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