This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2025-04-30 20:17:50 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
8152da82b5
rust
/
tests
/
rustdoc-ui
/
doctest
/
test-compile-fail1.rs
9 lines
89 B
Rust
Raw
Normal View
History
Unescape
Escape
[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives
2024-02-22 12:10:29 +00:00
//@ compile-flags:--test
rustdoc: Fix handling of compile errors when running `rustdoc --test` * Call `abort_if_errors` so all errors actually stop rustdoc. * Don't panic with "compiler aborted in rustdoc!", instead just exit to avoid the ugly panic message. * Use rlib as the crate type when searching for doctests matching what is used for doc generation so `#[no_std]` crates don't create "no global memory allocator" errors.
2020-01-18 23:51:06 +00:00
/// ```
/// assert!(true)
/// ```
pub
fn
f
(
)
{
}
pub
fn
f
(
)
{
}
Reference in New Issue
Copy Permalink