blob: 9d6ec0caf9f408378d6dd8bf9bc99b79dbe962eb [file] [log] [blame]
// 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
//@ check-pass
pub fn f() {}
//~? WARN `--generate-link-to-definition` option can only be used with HTML output format