diff options
| author | topecongiro <seuchida@gmail.com> | 2017-03-29 20:15:27 +0900 |
|---|---|---|
| committer | topecongiro <seuchida@gmail.com> | 2017-03-30 13:37:34 +0900 |
| commit | 3a1ffa7db7c0a641cf2aa04171815a564317416a (patch) | |
| tree | 5302b20d1772f1ebbb5a69733b7bfde4047afbff /tests/source | |
| parent | 7377dfc38c932949f26e99016f491ae3a81db6b2 (diff) | |
Split long fields in structs
This commit splits long fields in structs. Closes #1412.
Diffstat (limited to 'tests/source')
| -rw-r--r-- | tests/source/structs.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/source/structs.rs b/tests/source/structs.rs index d24b2ba1a77..d7cfe7ec548 100644 --- a/tests/source/structs.rs +++ b/tests/source/structs.rs @@ -167,3 +167,14 @@ struct Foo { } struct Foo { /* comment */ } struct Foo(); + +struct LongStruct { + a: A, + the_quick_brown_fox_jumps_over_the_lazy_dog:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA, +} + +struct Deep { + deeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeep: node::Handle<IdRef<'id, Node<Key, Value>>, + Type, + NodeType>, +} |
