]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-3974.rs
Add 'src/tools/rust-analyzer/' from commit '977e12a0bdc3e329af179ef3a9d466af9eb613bb'
[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 }