]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-3974.rs
Auto merge of #95315 - compiler-errors:pointee-fix, r=pnkfelix
[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 }