]> git.proxmox.com Git - rustc.git/blame - src/tools/rustfmt/tests/target/issue-3665/lib.rs
Update upstream source from tag 'upstream/1.52.1+dfsg1'
[rustc.git] / src / tools / rustfmt / tests / target / issue-3665 / lib.rs
CommitLineData
f20569fa
XL
1#![rustfmt::skip::attributes(skip_mod_attr)]
2
3mod sub_mod;
4
5#[rustfmt::skip::attributes(other, skip_attr)]
6fn main() {
7 #[other(should,
8skip,
9 this, format)]
10 struct S {}
11
12 #[skip_attr(should, skip,
13this, format,too)]
14 fn doesnt_mater() {}
15
16 #[skip_mod_attr(should, skip,
17this, format,
18 enerywhere)]
19 fn more() {}
20
21 #[not_skip(not, skip, me)]
22 struct B {}
23}
24
25#[other(should, not, skip, this, format, here)]
26fn foo() {}
27
28#[skip_mod_attr(should, skip,
29this, format,in, master,
30 and, sub, module)]
31fn bar() {}