rust/tests/rustdoc-ui/generate-link-to-definition/generate-link-to-definition-opt-unstable.rs

7 lines
177 B
Rust
Raw Normal View History

// 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() {}