mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
Update rustdoc-ui test for --generate-link-to-definition
option
This commit is contained in:
parent
d2177d90b0
commit
afbab80681
@ -2,5 +2,6 @@
|
||||
// option can only be used with HTML generation.
|
||||
|
||||
//@ compile-flags: -Zunstable-options --generate-link-to-definition --output-format json
|
||||
//@ check-pass
|
||||
|
||||
pub fn f() {}
|
||||
|
@ -1,2 +1,4 @@
|
||||
error: --generate-link-to-definition option can only be used with HTML output format
|
||||
warning: `--generate-link-to-definition` option can only be used with HTML output format
|
||||
|
|
||||
= note: `--generate-link-to-definition` option will be ignored
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user