]> git.lizzy.rs Git - rust.git/blob - tests/source/issue-3194.rs
handle hard tabs when formatting trailing comments (#3836)
[rust.git] / 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 }