{"action":"created","issue":{"url":"https://api.github.com/repos/dtolnay/syn/issues/139","repository_url":"https://api.github.com/repos/dtolnay/syn","labels_url":"https://api.github.com/repos/dtolnay/syn/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/dtolnay/syn/issues/139/comments","events_url":"https://api.github.com/repos/dtolnay/syn/issues/139/events","html_url":"https://github.com/dtolnay/syn/pull/139","id":230518417,"number":139,"title":"Add defaults to several types","user":{"login":"TedDriggs","id":4805575,"avatar_url":"https://avatars1.githubusercontent.com/u/4805575?v=3","gravatar_id":"","url":"https://api.github.com/users/TedDriggs","html_url":"https://github.com/TedDriggs","followers_url":"https://api.github.com/users/TedDriggs/followers","following_url":"https://api.github.com/users/TedDriggs/following{/other_user}","gists_url":"https://api.github.com/users/TedDriggs/gists{/gist_id}","starred_url":"https://api.github.com/users/TedDriggs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TedDriggs/subscriptions","organizations_url":"https://api.github.com/users/TedDriggs/orgs","repos_url":"https://api.github.com/users/TedDriggs/repos","events_url":"https://api.github.com/users/TedDriggs/events{/privacy}","received_events_url":"https://api.github.com/users/TedDriggs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-22T21:01:07Z","updated_at":"2017-05-22T21:41:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dtolnay/syn/pulls/139","html_url":"https://github.com/dtolnay/syn/pull/139","diff_url":"https://github.com/dtolnay/syn/pull/139.diff","patch_url":"https://github.com/dtolnay/syn/pull/139.patch"},"body":"The lack of `Default` impls on types such as `syn::Ident` prevents types with `Ident` fields from deriving `Default` themselves. This introduces considerable boilerplate for proc-macro crates such as my current project [darling](https://github.com/TedDriggs/darling).\r\n\r\nThis PR addresses that by providing defaults for a number of types within `syn`. Ideally, this would _not_ be blocked until 0.12 releases, and would go as a 0.11.x release."},"comment":{"url":"https://api.github.com/repos/dtolnay/syn/issues/comments/303227814","html_url":"https://github.com/dtolnay/syn/pull/139#issuecomment-303227814","issue_url":"https://api.github.com/repos/dtolnay/syn/issues/139","id":303227814,"user":{"login":"dtolnay","id":1940490,"avatar_url":"https://avatars1.githubusercontent.com/u/1940490?v=3","gravatar_id":"","url":"https://api.github.com/users/dtolnay","html_url":"https://github.com/dtolnay","followers_url":"https://api.github.com/users/dtolnay/followers","following_url":"https://api.github.com/users/dtolnay/following{/other_user}","gists_url":"https://api.github.com/users/dtolnay/gists{/gist_id}","starred_url":"https://api.github.com/users/dtolnay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtolnay/subscriptions","organizations_url":"https://api.github.com/users/dtolnay/orgs","repos_url":"https://api.github.com/users/dtolnay/repos","events_url":"https://api.github.com/users/dtolnay/events{/privacy}","received_events_url":"https://api.github.com/users/dtolnay/received_events","type":"User","site_admin":false},"created_at":"2017-05-22T21:41:29Z","updated_at":"2017-05-22T21:41:29Z","body":"But you would never want an Ident whose content is the empty string, right? Would Option\\<Ident\\> work?"}}
{"actor":{"display_login":"dtolnay"}}