]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-3974.rs
Merge commit '39683d8eb7a32a74bea96ecbf1e87675d3338506' into sync_cg_gcc-2022-03-26
[rust.git] / src / tools / rustfmt / tests / target / issue-3974.rs
1 fn emulate_foreign_item() {
2     match link_name {
3         // A comment here will duplicate the attribute
4         #[rustfmt::skip]
5         | "pthread_mutexattr_init"
6         | "pthread_mutexattr_settype"
7         | "pthread_mutex_init"
8         => {}
9     }
10 }