This website requires JavaScript.
Explore
Help
Register
Sign In
rust-lang
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Actions
1
Packages
Projects
Releases
Wiki
Activity
Files
b3827e4f3728b77bd3e60587487ebfc3cc8d901b
rust
/
tests
/
run-make
/
rustdoc-scrape-examples-test
/
examples
/
ex.rs
7 lines
56 B
Rust
Raw
Normal View
History
Unescape
Escape
Add --scrape-tests flags so rustdoc can scrape examples from tests
2022-02-11 21:48:59 -08:00
fn
main
(
)
{
}
#[
test
]
fn
a_test
(
)
{
Run rustfmt on `tests/run-make/`. With the exception of `tests/run-make/translation/test.rs`, which has a syntax error. The expected output in `rustdoc-error-lines/rmake.rs`'s required slight tweaking. The two `reproducible-build.rs` files need `// ignore-tidy-linelength` because rustfmt produces lines longer than 100 chars, which tidy doesn't like, yuk.
2024-05-29 15:01:33 +10:00
foobar
::
ok
(
)
;
Add --scrape-tests flags so rustdoc can scrape examples from tests
2022-02-11 21:48:59 -08:00
}
Reference in New Issue
Copy Permalink