{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/31436","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/31436/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/31436/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/31436/events","html_url":"https://github.com/rust-lang/rust/issues/31436","id":131752491,"number":31436,"title":"Tracking issue for `?` operator and `catch` expressions (RFC 243, `question_mark` feature)","user":{"login":"nikomatsakis","id":155238,"avatar_url":"https://avatars.githubusercontent.com/u/155238?v=3","gravatar_id":"","url":"https://api.github.com/users/nikomatsakis","html_url":"https://github.com/nikomatsakis","followers_url":"https://api.github.com/users/nikomatsakis/followers","following_url":"https://api.github.com/users/nikomatsakis/following{/other_user}","gists_url":"https://api.github.com/users/nikomatsakis/gists{/gist_id}","starred_url":"https://api.github.com/users/nikomatsakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikomatsakis/subscriptions","organizations_url":"https://api.github.com/users/nikomatsakis/orgs","repos_url":"https://api.github.com/users/nikomatsakis/repos","events_url":"https://api.github.com/users/nikomatsakis/events{/privacy}","received_events_url":"https://api.github.com/users/nikomatsakis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/rust/labels/B-RFC-approved","name":"B-RFC-approved","color":"e102d8"},{"url":"https://api.github.com/repos/rust-lang/rust/labels/B-RFC-implemented","name":"B-RFC-implemented","color":"e102d8"},{"url":"https://api.github.com/repos/rust-lang/rust/labels/B-unstable","name":"B-unstable","color":"e102d8"},{"url":"https://api.github.com/repos/rust-lang/rust/labels/T-lang","name":"T-lang","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":168,"created_at":"2016-02-05T20:53:16Z","updated_at":"2016-10-11T19:57:52Z","closed_at":null,"body":"Tracking issue for rust-lang/rfcs#243.\r\n\r\nImplementation concerns:\r\n\r\n- [x] `?` operator that is roughly equivalent to `try!` - #31954\r\n- [ ] `catch { ... }` expression\r\n- [ ] port `try!` to use `?`\r\n- [ ] error message issues - #36988\r\n\r\nConcrete work we can do to address unresolved questions:\r\n\r\n- [ ] experiment with some form of `Carrier` trait for handling options (requires amendment RFC)"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/253027422","html_url":"https://github.com/rust-lang/rust/issues/31436#issuecomment-253027422","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/31436","id":253027422,"user":{"login":"eddyb","id":77424,"avatar_url":"https://avatars.githubusercontent.com/u/77424?v=3","gravatar_id":"","url":"https://api.github.com/users/eddyb","html_url":"https://github.com/eddyb","followers_url":"https://api.github.com/users/eddyb/followers","following_url":"https://api.github.com/users/eddyb/following{/other_user}","gists_url":"https://api.github.com/users/eddyb/gists{/gist_id}","starred_url":"https://api.github.com/users/eddyb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eddyb/subscriptions","organizations_url":"https://api.github.com/users/eddyb/orgs","repos_url":"https://api.github.com/users/eddyb/repos","events_url":"https://api.github.com/users/eddyb/events{/privacy}","received_events_url":"https://api.github.com/users/eddyb/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T19:57:52Z","updated_at":"2016-10-11T19:57:52Z","body":"@withoutboats `try!(x)` is `(x : Result<_, _>)?` and we could probably implement it that way if we *wanted* to, but in general `x?` could infer to anything that supports the `Carrier` trait (in the future), one example is `iter.collect()?` which with `try!` would only be `Result` but can realistically be `Option`."}}
{"actor":{"display_login":"eddyb"}}