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