]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/source/empty-item-single-line-false.rs
Rollup merge of #107166 - petrochenkov:nooptable, r=oli-obk
[rust.git] / src / tools / rustfmt / tests / source / empty-item-single-line-false.rs
1 // rustfmt-brace_style: AlwaysNextLine
2 // rustfmt-empty_item_single_line: false
3
4 fn function()
5 {
6
7 }
8
9 struct Struct
10 {
11
12 }
13
14 enum Enum
15 {
16
17 }
18
19 trait Trait
20 {
21
22 }
23
24 impl<T> Trait for T
25 {
26
27 }
28
29 trait Trait2<T>
30 where
31     T: Copy + Display + Write + Read + FromStr, {}
32
33 trait Trait3<T>
34 where
35     T: Something
36         + SomethingElse
37         + Sync
38         + Send
39         + Display
40         + Debug
41         + Copy
42         + Hash
43         + Debug
44         + Display
45         + Write
46         + Read, {}