summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/empty-item-single-line-false.rs
blob: bf7f70e7c4321793cf27127efb91892eb67fbb36 (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
// 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,
{
}