{"action":"closed","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/35193","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/35193/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/35193/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/35193/events","html_url":"https://github.com/rust-lang/rust/issues/35193","id":168994449,"number":35193,"title":"E0009 needs to be updated to new format","user":{"login":"jonathandturner","id":547158,"avatar_url":"https://avatars.githubusercontent.com/u/547158?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathandturner","html_url":"https://github.com/jonathandturner","followers_url":"https://api.github.com/users/jonathandturner/followers","following_url":"https://api.github.com/users/jonathandturner/following{/other_user}","gists_url":"https://api.github.com/users/jonathandturner/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathandturner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathandturner/subscriptions","organizations_url":"https://api.github.com/users/jonathandturner/orgs","repos_url":"https://api.github.com/users/jonathandturner/repos","events_url":"https://api.github.com/users/jonathandturner/events{/privacy}","received_events_url":"https://api.github.com/users/jonathandturner/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/rust/labels/A-diagnostics","name":"A-diagnostics","color":"d7e102"},{"url":"https://api.github.com/repos/rust-lang/rust/labels/E-easy","name":"E-easy","color":"02e10c"},{"url":"https://api.github.com/repos/rust-lang/rust/labels/E-mentor","name":"E-mentor","color":"02E10C"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-02T21:35:29Z","updated_at":"2016-08-18T11:36:48Z","closed_at":"2016-08-18T11:36:48Z","body":"From: src/test/compile-fail/E0009.rs\r\n\r\nA span_note needs to be updated to a span_label.  We may also want to update the span used for the error to the second label.  This would take this:\r\n\r\n```\r\nerror[E0009]: cannot bind by-move and by-ref in the same pattern\r\n  --> src/test/compile-fail/E0009.rs:15:15\r\n   |\r\n15 |         Some((y, ref z)) => {}, //~ ERROR E0009\r\n   |               ^\r\n   |\r\nnote: by-ref binding occurs here\r\n  --> src/test/compile-fail/E0009.rs:15:18\r\n   |\r\n15 |         Some((y, ref z)) => {}, //~ ERROR E0009\r\n   |                  ^^^^^\r\n```\r\n\r\nto:\r\n\r\n```\r\nerror[E0009]: cannot bind by-move and by-ref in the same pattern\r\n  --> src/test/compile-fail/E0009.rs:15:15\r\n   |\r\n15 |         Some((y, ref z)) => {}, //~ ERROR E0009\r\n   |               -  ^^^^^ both by-ref and by-move used\r\n   |               |\r\n   |               by-move pattern here\r\n```"}}
{"actor":{"display_login":"bors"}}