{"action":"created","issue":{"url":"https://api.github.com/repos/klutzy/nadeko/issues/2","labels_url":"https://api.github.com/repos/klutzy/nadeko/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/klutzy/nadeko/issues/2/comments","events_url":"https://api.github.com/repos/klutzy/nadeko/issues/2/events","html_url":"https://github.com/klutzy/nadeko/pull/2","id":109230950,"number":2,"title":"Update nadeko to run on nightly, fixes tests","user":{"login":"erickt","id":84711,"avatar_url":"https://avatars.githubusercontent.com/u/84711?v=3","gravatar_id":"","url":"https://api.github.com/users/erickt","html_url":"https://github.com/erickt","followers_url":"https://api.github.com/users/erickt/followers","following_url":"https://api.github.com/users/erickt/following{/other_user}","gists_url":"https://api.github.com/users/erickt/gists{/gist_id}","starred_url":"https://api.github.com/users/erickt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erickt/subscriptions","organizations_url":"https://api.github.com/users/erickt/orgs","repos_url":"https://api.github.com/users/erickt/repos","events_url":"https://api.github.com/users/erickt/events{/privacy}","received_events_url":"https://api.github.com/users/erickt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-01T05:16:28Z","updated_at":"2015-11-02T21:06:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/klutzy/nadeko/pulls/2","html_url":"https://github.com/klutzy/nadeko/pull/2","diff_url":"https://github.com/klutzy/nadeko/pull/2.diff","patch_url":"https://github.com/klutzy/nadeko/pull/2.patch"},"body":"This gets all the tests to pass. I'm a little concerned though that I had to add macro support for matches, loops, and breaks, which I worry could slip in some non-constant time operations. Instead it might be better to pull the `for` loop out of the ChaCha20 test.\r\n\r\nThis also adds initial support for travis tests with [travis-cargo](https://github.com/huonw/travis-cargo), but it needs a secure token to be created in order to push documentation back up to the main repository. You can follow this [guide](http://hoverbear.org/2015/03/07/rust-travis-github-pages/) to get it set up."},"comment":{"url":"https://api.github.com/repos/klutzy/nadeko/issues/comments/153156644","html_url":"https://github.com/klutzy/nadeko/pull/2#issuecomment-153156644","issue_url":"https://api.github.com/repos/klutzy/nadeko/issues/2","id":153156644,"user":{"login":"klutzy","id":1589355,"avatar_url":"https://avatars.githubusercontent.com/u/1589355?v=3","gravatar_id":"","url":"https://api.github.com/users/klutzy","html_url":"https://github.com/klutzy","followers_url":"https://api.github.com/users/klutzy/followers","following_url":"https://api.github.com/users/klutzy/following{/other_user}","gists_url":"https://api.github.com/users/klutzy/gists{/gist_id}","starred_url":"https://api.github.com/users/klutzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klutzy/subscriptions","organizations_url":"https://api.github.com/users/klutzy/orgs","repos_url":"https://api.github.com/users/klutzy/repos","events_url":"https://api.github.com/users/klutzy/events{/privacy}","received_events_url":"https://api.github.com/users/klutzy/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T21:06:58Z","updated_at":"2015-11-02T21:06:58Z","body":"Thanks! Checked with rustc 1.6.0-nightly (1a2eaffb6 2015-10-31) and it seems to work with tiny modification (due to my laziness!):\r\n\r\n```diff\r\n--- a/nadeko-plugin/src/trans.rs\r\n+++ b/nadeko-plugin/src/trans.rs\r\n@@ -367,7 +367,7 @@ impl<'a, 'b: 'a> TransFolder<'a, 'b> {\r\n                     ast::ExprTup(Vec::new())\r\n                 }\r\n\r\n-                ast::ExprMatch(discriminant, arms, match_source) => {\r\n+                ast::ExprMatch(discriminant, arms) => {\r\n                     let discriminant = self.trans_expr(discriminant);\r\n                     let arms = arms.into_iter()\r\n                         .map(|arm| {\r\nStage this hunk [y,n,q,a,d,/,j,J,g,e,?]? y\r\n@@ -380,7 +380,7 @@ impl<'a, 'b: 'a> TransFolder<'a, 'b> {\r\n                         })\r\n                         .collect();\r\n\r\n-                    ast::ExprMatch(discriminant, arms, match_source)\r\n+                    ast::ExprMatch(discriminant, arms)\r\n                 }\r\n\r\n                 ast::ExprRange(min, max) => {\r\n```\r\n\r\nAh, and I've forgotten to [add a license](https://github.com/klutzy/nadeko/pull/1#issuecomment-143414811) again. Do you agree with MIT license?"}}