blob: a9614913ed14f617ba68220a564f877a5300ba3e (
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
47
48
49
50
51
52
|
mod m {
struct S
where
A: B;
}
mod n {
struct Foo
where
A: B,
{
foo: usize,
}
}
mod o {
enum Bar
where
A: B,
{
Bar,
}
}
mod with_comments {
mod m {
struct S
/* before where */
where
A: B; /* after where */
}
mod n {
struct Foo
/* before where */
where
A: B, /* after where */
{
foo: usize,
}
}
mod o {
enum Bar
/* before where */
where
A: B, /* after where */
{
Bar,
}
}
}
|