433da1fc04
They pass fine.
6 lines
101 B
Rust
6 lines
101 B
Rust
/// ```rust
|
|
/// assert_eq!(foo::foo(), 1);
|
|
/// ```
|
|
#[cfg(feature = "bar")]
|
|
pub fn foo() -> i32 { 1 }
|