mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-29 03:27:44 +00:00
16 lines
261 B
Rust
16 lines
261 B
Rust
![]() |
// compile-flags:--test --test-args=--test-threads=1
|
||
|
// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR"
|
||
|
// check-pass
|
||
|
|
||
|
//! ```
|
||
|
//! assert_eq!(1 + 1, 2);
|
||
|
//! ```
|
||
|
|
||
|
pub mod foo {
|
||
|
|
||
|
/// ```
|
||
|
/// assert_eq!(1 + 1, 2);
|
||
|
/// ```
|
||
|
pub fn bar() {}
|
||
|
}
|