Update rustdoc-ui test for --generate-link-to-definition option

This commit is contained in:
Guillaume Gomez 2024-08-13 15:08:07 +02:00
parent d2177d90b0
commit afbab80681
2 changed files with 4 additions and 1 deletions

View File

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

View File

@ -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