]> git.proxmox.com Git - rustc.git/blame - src/tools/rustfmt/tests/source/issue_4584.rs
Update upstream source from tag 'upstream/1.52.1+dfsg1'
[rustc.git] / src / tools / rustfmt / tests / source / issue_4584.rs
CommitLineData
f20569fa
XL
1// rustfmt-indent_style: Visual
2
3#[derive(Debug,)]
4pub enum Case {
5 Upper,
6 Lower
7}
8
9#[derive(Debug, Clone, PartialEq, Eq,)]
10pub enum Case {
11 Upper,
12 Lower
13}
14
15// NB - This formatting looks potentially off the desired state, but is
16// consistent with current behavior. Included here to provide a line wrapped
17// derive case with the changes applied to resolve issue #4584
18#[derive(Add, Sub, Mul, Div, Clone, Copy, Eq, PartialEq, Ord, PartialOrd, Debug, Hash, Serialize, Mul,)]
19struct Foo {}