{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/35257","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/35257/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/35257/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/35257/events","html_url":"https://github.com/rust-lang/rust/issues/35257","id":169190612,"number":35257,"title":"E0131 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":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-03T17:43:04Z","updated_at":"2016-08-04T11:55:35Z","closed_at":null,"body":"From: \r\n\r\nError E0131 needs a span_label, updating it from:\r\n\r\n```\r\nerror[E0131]: main function is not allowed to have type parameters\r\n  --> src/test/compile-fail/E0131.rs:11:1\r\n   |\r\n11 | fn main<T>() { //~ ERROR E0131\r\n   | ^\r\n```\r\n\r\nTo:\r\n\r\n```\r\nerror[E0131]: main function is not allowed to have type parameters\r\n  --> src/test/compile-fail/E0131.rs:11:1\r\n   |\r\n11 | fn main<T>() { //~ ERROR E0131\r\n   | ^ main cannot have type parameters\r\n```\r\n\r\nBonus: underline the type parameters directly\r\n\r\n```\r\nerror[E0131]: main function is not allowed to have type parameters\r\n  --> src/test/compile-fail/E0131.rs:11:1\r\n   |\r\n11 | fn main<T>() { //~ ERROR E0131\r\n   |        ^^^ main cannot have type parameters\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/237531951","html_url":"https://github.com/rust-lang/rust/issues/35257#issuecomment-237531951","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/35257","id":237531951,"user":{"login":"Limeth","id":1978878,"avatar_url":"https://avatars.githubusercontent.com/u/1978878?v=3","gravatar_id":"","url":"https://api.github.com/users/Limeth","html_url":"https://github.com/Limeth","followers_url":"https://api.github.com/users/Limeth/followers","following_url":"https://api.github.com/users/Limeth/following{/other_user}","gists_url":"https://api.github.com/users/Limeth/gists{/gist_id}","starred_url":"https://api.github.com/users/Limeth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Limeth/subscriptions","organizations_url":"https://api.github.com/users/Limeth/orgs","repos_url":"https://api.github.com/users/Limeth/repos","events_url":"https://api.github.com/users/Limeth/events{/privacy}","received_events_url":"https://api.github.com/users/Limeth/received_events","type":"User","site_admin":false},"created_at":"2016-08-04T11:55:35Z","updated_at":"2016-08-04T11:55:35Z","body":"I am working on this one."}}
{"actor":{"display_login":"Limeth"}}