]> git.lizzy.rs Git - rust.git/blob - tests/target/issue-3759.rs
Fix static async closure qualifier order
[rust.git] / tests / target / issue-3759.rs
1 fn main() {
2     let Test {
3         #[cfg(feature = "test")]
4         x,
5     } = Test {
6         #[cfg(feature = "test")]
7         x: 1,
8     };
9
10     let Test {
11         #[cfg(feature = "test")]
12         // comment
13         x,
14     } = Test {
15         #[cfg(feature = "test")]
16         x: 1,
17     };
18
19     let Test {
20         // comment
21         #[cfg(feature = "test")]
22         x,
23     } = Test {
24         #[cfg(feature = "test")]
25         x: 1,
26     };
27 }