summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/generate-link-to-definition-opt-unstable.rs
blob: 87620d74ee6455d5d37118b089a252a29d6c8cdf (plain)
1
2
3
4
5
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() {}