{"action":"opened","issue":{"url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/2476","repository_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt","labels_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/2476/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/2476/comments","events_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/2476/events","html_url":"https://github.com/rust-lang-nursery/rustfmt/issues/2476","id":298729800,"number":2476,"title":"macro drifting on every iteration again","user":{"login":"tspiteri","id":18604588,"avatar_url":"https://avatars0.githubusercontent.com/u/18604588?v=4","gravatar_id":"","url":"https://api.github.com/users/tspiteri","html_url":"https://github.com/tspiteri","followers_url":"https://api.github.com/users/tspiteri/followers","following_url":"https://api.github.com/users/tspiteri/following{/other_user}","gists_url":"https://api.github.com/users/tspiteri/gists{/gist_id}","starred_url":"https://api.github.com/users/tspiteri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tspiteri/subscriptions","organizations_url":"https://api.github.com/users/tspiteri/orgs","repos_url":"https://api.github.com/users/tspiteri/repos","events_url":"https://api.github.com/users/tspiteri/events{/privacy}","received_events_url":"https://api.github.com/users/tspiteri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-20T20:03:54Z","updated_at":"2018-02-20T20:03:54Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"This is a variation on #2438. I had reduced my test case for that issue, and now I'm getting another issue with a less-reduced test case. Starting with this:\r\n```rust\r\nmacro_rules! m {\r\n    () => {\r\n        fn foo() {\r\n            this_line_is_99_characters_long_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx(\r\n            );\r\n        }\r\n    };\r\n}\r\n```\r\nAfter one rustfmt iteration:\r\n```rust\r\nmacro_rules! m {\r\n    () => {\r\n        fn foo() {\r\n            this_line_is_99_characters_long_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx(\r\n                    );\r\n        }\r\n    };\r\n}\r\n```\r\nAfter two rustfmt iterations:\r\n```rust\r\nmacro_rules! m {\r\n    () => {\r\n        fn foo() {\r\n            this_line_is_99_characters_long_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx(\r\n                            );\r\n        }\r\n    };\r\n}\r\n```\r\nThis is drifting by eight characters per iteration (it was four for #2438). I tested this on git version 6c1e1dd7."}}
{"actor":{"display_login":"tspiteri"}}