{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/1120","repository_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt","labels_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/1120/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/1120/comments","events_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/1120/events","html_url":"https://github.com/rust-lang-nursery/rustfmt/issues/1120","id":169539047,"number":1120,"title":"reorder-imports panics if first line is use-statement in submodules","user":{"login":"crumblingstatue","id":1521976,"avatar_url":"https://avatars.githubusercontent.com/u/1521976?v=3","gravatar_id":"","url":"https://api.github.com/users/crumblingstatue","html_url":"https://github.com/crumblingstatue","followers_url":"https://api.github.com/users/crumblingstatue/followers","following_url":"https://api.github.com/users/crumblingstatue/following{/other_user}","gists_url":"https://api.github.com/users/crumblingstatue/gists{/gist_id}","starred_url":"https://api.github.com/users/crumblingstatue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crumblingstatue/subscriptions","organizations_url":"https://api.github.com/users/crumblingstatue/orgs","repos_url":"https://api.github.com/users/crumblingstatue/repos","events_url":"https://api.github.com/users/crumblingstatue/events{/privacy}","received_events_url":"https://api.github.com/users/crumblingstatue/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-05T06:35:19Z","updated_at":"2016-08-07T22:11:40Z","closed_at":null,"body":"for the code `mod foo {use bar;}`, rustfmt panics with\r\n```\r\nthread 'main' panicked at 'Request to format inverted span: Loc { file: FileMap(stdin), line: 1, col: CharPos(9) } to Loc { file: FileMap(stdin), line: 1, col: CharPos(8) }', src/missed_spans.rs:50\r\nnote: Run with `RUST_BACKTRACE=1` for a backtrace.\r\n\r\n```\r\n\r\nThis is not the same issue as #1111 , which was fixed."},"comment":{"url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/comments/238111835","html_url":"https://github.com/rust-lang-nursery/rustfmt/issues/1120#issuecomment-238111835","issue_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/1120","id":238111835,"user":{"login":"nrc","id":762626,"avatar_url":"https://avatars.githubusercontent.com/u/762626?v=3","gravatar_id":"","url":"https://api.github.com/users/nrc","html_url":"https://github.com/nrc","followers_url":"https://api.github.com/users/nrc/followers","following_url":"https://api.github.com/users/nrc/following{/other_user}","gists_url":"https://api.github.com/users/nrc/gists{/gist_id}","starred_url":"https://api.github.com/users/nrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nrc/subscriptions","organizations_url":"https://api.github.com/users/nrc/orgs","repos_url":"https://api.github.com/users/nrc/repos","events_url":"https://api.github.com/users/nrc/events{/privacy}","received_events_url":"https://api.github.com/users/nrc/received_events","type":"User","site_admin":false},"created_at":"2016-08-07T22:11:40Z","updated_at":"2016-08-07T22:11:40Z","body":"cc @studoot"}}
{"actor":{"display_login":"nrc"}}