summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/source/empty-item-single-line-false.rs
blob: 20c5bc83b466a0fe3b64130c219d657cae76fe33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// rustfmt-brace_style: AlwaysNextLine
// rustfmt-empty_item_single_line: false

fn function()
{

}

struct Struct
{

}

enum Enum
{

}

trait Trait
{

}

impl<T> Trait for T
{

}

trait Trait2<T>
where
    T: Copy + Display + Write + Read + FromStr, {}

trait Trait3<T>
where
    T: Something
        + SomethingElse
        + Sync
        + Send
        + Display
        + Debug
        + Copy
        + Hash
        + Debug
        + Display
        + Write
        + Read, {}