mirror of
https://git.proxmox.com/git/rustc
synced 2025-11-04 20:21:50 +00:00
13 lines
254 B
Rust
13 lines
254 B
Rust
// compile-flags:--test
|
|
|
|
/// Example of rustdoc incorrectly parsing <code>```rust,should_panic</code>.
|
|
///
|
|
/// ```should_panic
|
|
/// fn main() { panic!("fee"); }
|
|
/// ```
|
|
///
|
|
/// ```rust,should_panic
|
|
/// fn main() { panic!("fum"); }
|
|
/// ```
|
|
pub fn foo() {}
|