]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/source/issue-3194.rs
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
[rust.git] / src / tools / rustfmt / tests / source / issue-3194.rs
1 mod m { struct S where A: B; }
2
3 mod n { struct Foo where A: B { foo: usize } }
4
5 mod o { enum Bar where A: B { Bar } }
6
7 mod with_comments {
8   mod m { struct S /* before where */ where A: B; /* after where */ }
9   
10   mod n { struct Foo /* before where */ where A: B /* after where */ { foo: usize } }
11   
12   mod o { enum Bar /* before where */ where A: B /* after where */ { Bar } }
13 }