mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 03:03:40 +00:00
28 lines
438 B
Rust
28 lines
438 B
Rust
fn main() {
|
|
let Test {
|
|
#[cfg(feature = "test")]
|
|
x,
|
|
} = Test {
|
|
#[cfg(feature = "test")]
|
|
x: 1,
|
|
};
|
|
|
|
let Test {
|
|
#[cfg(feature = "test")]
|
|
// comment
|
|
x,
|
|
} = Test {
|
|
#[cfg(feature = "test")]
|
|
x: 1,
|
|
};
|
|
|
|
let Test {
|
|
// comment
|
|
#[cfg(feature = "test")]
|
|
x,
|
|
} = Test {
|
|
#[cfg(feature = "test")]
|
|
x: 1,
|
|
};
|
|
}
|