{"action":"created","issue":{"url":"https://api.github.com/repos/hackndev/zinc/issues/370","repository_url":"https://api.github.com/repos/hackndev/zinc","labels_url":"https://api.github.com/repos/hackndev/zinc/issues/370/labels{/name}","comments_url":"https://api.github.com/repos/hackndev/zinc/issues/370/comments","events_url":"https://api.github.com/repos/hackndev/zinc/issues/370/events","html_url":"https://github.com/hackndev/zinc/issues/370","id":140112885,"number":370,"title":"Compilation fail on current rustc nightly (1.9.0)","user":{"login":"Gyscos","id":564903,"avatar_url":"https://avatars.githubusercontent.com/u/564903?v=3","gravatar_id":"","url":"https://api.github.com/users/Gyscos","html_url":"https://github.com/Gyscos","followers_url":"https://api.github.com/users/Gyscos/followers","following_url":"https://api.github.com/users/Gyscos/following{/other_user}","gists_url":"https://api.github.com/users/Gyscos/gists{/gist_id}","starred_url":"https://api.github.com/users/Gyscos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gyscos/subscriptions","organizations_url":"https://api.github.com/users/Gyscos/orgs","repos_url":"https://api.github.com/users/Gyscos/repos","events_url":"https://api.github.com/users/Gyscos/events{/privacy}","received_events_url":"https://api.github.com/users/Gyscos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-11T07:46:22Z","updated_at":"2016-04-07T19:11:37Z","closed_at":null,"body":"Libsyntax at least has changed, and many compilation errors result from that.\r\n\r\nSome changes are small (things like `syntax::ast::PatLit` being renamed to `syntax::ast::PatKind::Lit`, others are slightly larger (like some `syntax::ast::ItemKind::Impl.5` moving from `Vec<P<ImplItem>>` to `Vec<ImplItem>`)."},"comment":{"url":"https://api.github.com/repos/hackndev/zinc/issues/comments/207053664","html_url":"https://github.com/hackndev/zinc/issues/370#issuecomment-207053664","issue_url":"https://api.github.com/repos/hackndev/zinc/issues/370","id":207053664,"user":{"login":"Gyscos","id":564903,"avatar_url":"https://avatars.githubusercontent.com/u/564903?v=3","gravatar_id":"","url":"https://api.github.com/users/Gyscos","html_url":"https://github.com/Gyscos","followers_url":"https://api.github.com/users/Gyscos/followers","following_url":"https://api.github.com/users/Gyscos/following{/other_user}","gists_url":"https://api.github.com/users/Gyscos/gists{/gist_id}","starred_url":"https://api.github.com/users/Gyscos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gyscos/subscriptions","organizations_url":"https://api.github.com/users/Gyscos/orgs","repos_url":"https://api.github.com/users/Gyscos/repos","events_url":"https://api.github.com/users/Gyscos/events{/privacy}","received_events_url":"https://api.github.com/users/Gyscos/received_events","type":"User","site_admin":false},"created_at":"2016-04-07T19:11:37Z","updated_at":"2016-04-07T19:11:37Z","body":"After updating to the new `libsyntax::ast` enums, compiling examples still give the following two kinds of errors (many errors of each kind):\r\n\r\n```\r\n/home/gyscos/fetched/zinc/src/hal/lpc17xx/pwm.rs:172:3: 291:6 error: attribute should be applied to function [E0518]\r\n/home/gyscos/fetched/zinc/src/hal/lpc17xx/pwm.rs:172   ioregs!(PWM1@0x40018000 = {\r\n/home/gyscos/fetched/zinc/src/hal/lpc17xx/pwm.rs:173     /// Interrupt Register. The IR can be written to clear\r\n/home/gyscos/fetched/zinc/src/hal/lpc17xx/pwm.rs:174     /// interrupts. The IR can be read to identify which of eight\r\n/home/gyscos/fetched/zinc/src/hal/lpc17xx/pwm.rs:175     /// possible interrupt sources are pending.\r\n/home/gyscos/fetched/zinc/src/hal/lpc17xx/pwm.rs:176     0x00 => reg32 ir {\r\n/home/gyscos/fetched/zinc/src/hal/lpc17xx/pwm.rs:177       0  => irq_mr0,  //= Interrupt flag for PWM match channel 0.\r\n```\r\n\r\n```\r\n/home/gyscos/fetched/zinc/src/hal/lpc17xx/pwm.rs:193:10: 193:11 error: mismatched types:\r\n expected `u32`,\r\n    found `usize` [E0308]\r\n/home/gyscos/fetched/zinc/src/hal/lpc17xx/pwm.rs:193          0 => DISABLED,\r\n                                                              ^\r\n/home/gyscos/fetched/zinc/src/hal/lpc17xx/pwm.rs:172:3: 291:6 note: in this expansion of ioregs! (defined in /home/gyscos/fetched/zinc/src/lib.rs)\r\n/home/gyscos/fetched/zinc/src/hal/lpc17xx/pwm.rs:193:10: 193:11 help: run `rustc --explain E0308` to see a detailed explanation\r\n```"}}