1
Fork 0

add compiletest headers to rustdoc-gui tests

This commit is contained in:
ozkanonur 2023-05-20 14:41:37 +03:00
parent 6a347322a9
commit 02ea750f0b
4 changed files with 7 additions and 4 deletions

View file

@ -1 +1,2 @@
// compile-flags: --extend-css extra.css
//! <div class="extend">text in red</div>

View file

@ -1,3 +1,4 @@
// compile-flags: -Zunstable-options --generate-link-to-definition
pub fn sub_fn() {
barbar();
}

View file

@ -1,3 +1,4 @@
// run-flags:-Zrustdoc-scrape-examples
/// # Examples
///
/// ```