GitHub PushEvent at 2014-01-10 22:46:06
Repository: rust
Actor: Kimundi
Payload: {"shas":[["1ea3052f41aaed52429af43304a138e752920959","60c6d277a8bd81de7fdde19201bf9c58a3df08f4@alexcrichton.com","Update submodules to point to rust-lang repos","Alex Crichton",true],["52e06c663cb25308c1784b2263b93f4af32107c2","f8800a61e50195b5e128e84204d223c2328d9074@gmail.com","Add eof to MemReader and BufReader\n\nIt's easy to figure out and useful as a sanity check sometimes.","Steven Fackler",true],["5487f15bbfae92747373a9b9e11b67db3a82c7d5","41f0eec3c5997dc105ef7f480205639ce461e46a@panix.com","Fix ICE on const of nullable enum with fields in null case.\n\nThat is, if you have an enum type that is subject to the nullable\npointer optimization, but the null variant has a nonzero number of\nfields, and you declare a static whose value is of that variant, then\nthat used to be an ICE but this change fixes it.","Jed Davis",true],["587d0f5a3252355c8dd97eec9691e5b60af1cc2a","3a2c29237f73c7cf88424b80e427b1884f346b35@rust-lang.org","auto merge of #11436 : alexcrichton/rust/update-forks, r=huonw\n\nWe're not moving everything just yet, but it's good to start somewhere!","bors",true],["72a52522ca2da85006553c62134bf98299525162","3a2c29237f73c7cf88424b80e427b1884f346b35@rust-lang.org","auto merge of #11437 : sfackler/rust/mem-eof, r=alexcrichton\n\nIt's easy to figure out and useful as a sanity check sometimes.","bors",true],["423dd84300a7232f41b799ffdab7a1fc97ce59da","3a2c29237f73c7cf88424b80e427b1884f346b35@rust-lang.org","auto merge of #11441 : jld/rust/enum-nullable-const-null-with-fields, r=alexcrichton\n\nThat is, if you have an enum type that is subject to the nullable\r\npointer optimization, but the null variant has a nonzero number of\r\nfields, and you declare a static whose value is of that variant, then\r\nthat used to be an ICE but this change fixes it.","bors",true],["aca705cae9aab1296d6ae1b250788b6c6add5855","64b2b6d12bfe4baae7dad3d018f8cbf6b0e7a044@kudling.de","\"As long an iterator\" => \"As long as an iterator\"","kud1ing",true],["6f875c96b3a27e7acb61e421ad667de76e4f0c57","fedb5a6c8c6e1ffe1ebbdce6c0af0ebd0b57b567@gmail.com","Fix #11421","Derek Chiang",true],["7fe8692d3347c4eabfad2fbbd8a336069102c63f","3a2c29237f73c7cf88424b80e427b1884f346b35@rust-lang.org","auto merge of #11451 : kud1ing/rust/patch-1, r=cmr","bors",true],["ff7ecca20e116b8365d8095fa9618dc11e54cfbe","3a2c29237f73c7cf88424b80e427b1884f346b35@rust-lang.org","auto merge of #11452 : derekchiang/rust/fix-11421, r=cmr\n\nCloses #11421.  A pretty trivial fix.","bors",true],["02d86216f39d78d614c684e72250cd37e5c6339a","33bd59a55a3fbc01357ff7295ac879d8e00d5083@gmail.com","Improve invalid operator assignment handling.","Raphael Catolino",true],["33e866339126df3806f9cae95f2b91d38abaab32","3a2c29237f73c7cf88424b80e427b1884f346b35@rust-lang.org","auto merge of #11449 : rcatolino/rust/assign-binop-handling, r=alexcrichton\n\nSo far the following code\r\n```\r\nstruct Foo;\r\n\r\nfn main() {\r\n  let mut t = Foo;\r\n  let ref b = Foo;\r\n  a += *b;\r\n}\r\n```\r\nerrors with \r\n```\r\ntest.rs:15:3: 13:11 error: binary operation + cannot be applied to type `Foo`\r\ntest.rs:15   *a += *b;\r\n```\r\nSince assignment-operators are no longer expanded to ```left = left OP right``` but are independents operators it should be \r\n```\r\ntest.rs:15:3: 13:11 error: binary operation += cannot be applied to type `Foo`\r\ntest.rs:15   *a += *b;\r\n```\r\nto make it clear that implementing Add for Foo is not gonna work. (cf issues #11143, #11344)\r\n\r\nBesides that, we also need to typecheck the rhs expression even if the operator has no implementation, or we end up with unknown types for the nodes of the rhs and an ICE later on while resolving types. (once again cf #11143 and #11344).\r\n\r\nThis probably would get fixed with #5992, but in the meantime it's a confusing error to stumble upon.\r\n@pcwalton, you wrote the original code, what do you think?\r\n(closes #11143 and #11344)","bors",true]],"size":12,"ref":"refs/heads/master","head":"33e866339126df3806f9cae95f2b91d38abaab32"}