Skip to content

Commit

Permalink
Update rustdoc-ui test for --generate-link-to-definition option
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Aug 13, 2024
1 parent d2177d9 commit afbab80
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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() {}
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit afbab80

Please sign in to comment.