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

7 lines
227 B
Rust
Raw Normal View History

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