GitHub PushEvent at 2014-11-10 11:34:22
Repository: rust
Actor: nikomatsakis
Payload: {"shas":[["9e5b283e17bf79073f53b379f171cd96ba4b5b66","787e29a4ac7cfe7ac25aee8bca36da4d3ac906cc@gmail.com","Guide: Puts the toc again in the doc\n\nCloses #17505","gamazeps",false],["cd59582609f8d14c3a96404bd9e6b63eea1c005f","4d95b105e1a20f0b5241be22d80016233502e6d3@gmail.com","Fix atomic::fence documentation typos","Mike Robinson",false],["daa215e8c536a1940d9f0f668610c67e6aa8542e","4391d9f43454342dfea80b23a3abbf3dfbd0293e@gmail.com","Fix handling of unboxed closure type param substitutions\n\n- When selecting an implicit trait impl for an unboxed closure, plumb\n  through and use the substitutions from impl selection instead of\n  using those from the current param environment in trans, which may\n  be incorrect.\n- When generating a function declaration for an unboxed closure, plumb\n  through the substitutions from the param environment of the closure\n  as above.  Also normalize the type to avoid generating duplicate\n  declarations due to regions being inconsistently replaced with\n  ReStatic elsewhere.\n- Do not place the closure type in the self param space when\n  translating the unboxed closure callee, etc.  It is not actually\n  used, and doing so conflicts with the self substitution from\n  default trait methods.\n\nCloses #18661\nCloses #18685","Brian Koropoff",false],["d317039b222f0c73f80434f8d248f8adb19e3fdd","4391d9f43454342dfea80b23a3abbf3dfbd0293e@gmail.com","Add regression test for #18661","Brian Koropoff",false],["ddb17b239b5b2b05932516bfb6b7679915fd4c27","4391d9f43454342dfea80b23a3abbf3dfbd0293e@gmail.com","Add regression test for #18685","Brian Koropoff",false],["bb0a719434490a0805cdbbfe52ba8b47bc5ec211","4391d9f43454342dfea80b23a3abbf3dfbd0293e@gmail.com","Fix panic due to overly long borrow of RefCell\n\nCloses #18711","Brian Koropoff",false],["5f6392d84893bf5bbc5c44c247e3d4a983c17b7c","4391d9f43454342dfea80b23a3abbf3dfbd0293e@gmail.com","Add regression test for #18711","Brian Koropoff",false],["c3c72239b7130b947deb6272c6d0c05872697d91","4391d9f43454342dfea80b23a3abbf3dfbd0293e@gmail.com","Remove incorrect assert in trans\n\nAs an optimization, once unboxed closures receive their environment by\nvalue if it fits within the size of an `int`.  An assert in this code\npath assumed that this would only occur if the environment had no more\nthan a single free variable in it, but multiple smaller free variables\ncan easily be packed into the space of an `int`, particularly if any\nof them are 0-sized.  The assert can simply be removed.\n\nCloses #18652","Brian Koropoff",false],["2c956d0abfa8cc169fc2c2ab5343b77b20397817","4391d9f43454342dfea80b23a3abbf3dfbd0293e@gmail.com","Add regression test for #18652","Brian Koropoff",false],["1971e02ec62bfe50963d1986552e241602c3dc20","b1c1d8736f20db3fb6c1c66bb1455ed43909f0d8@chrismorgan.info","Derive Clone for TypeId.","Chris Morgan",false],["0741dd795a5cad8b7bb24d07200235f8fb7d84e6","e9a0449c5a5715d856edec28653908f4660ce444@gmail.com","Remove unnecessary `.to_string()`s from `Vec.swap_remove`'s doc example.","Utkarsh Kukreti",false],["a722f70207cf8419150c52cbf79ef5b9eadb1639","df08b6c3d39c0bd2bfd5240cc44c0226f94909a7@gmail.com","Properly static lib packaging\n\nFixes #18574","Valerii Hiora",false],["fc47dd9c0f20180ec50f31a9acc5fd0695a62267","9e39c0ee45144aab5c1c9286a11520ad4083a053@thinkthroughmath.com","Prepend should be append in the 30 minute intro\n\nThe examples are about adding to the end of the array, not the\nbeginning.","Carol Nichols",false],["3dbd32854f6bdee94c98c5e3e5da58fb79d79fd9","60c6d277a8bd81de7fdde19201bf9c58a3df08f4@alexcrichton.com","rustc: Process #[cfg]/#[cfg_attr] on crates\n\nThis commit implements processing these two attributes at the crate level as\nwell as at the item level. When #[cfg] is applied at the crate level, then the\nentire crate will be omitted if the cfg doesn't match. The #[cfg_attr] attribute\nis processed as usual in that the attribute is included or not depending on\nwhether the cfg matches.\n\nThis was spurred on by motivations of #18585 where #[cfg_attr] annotations will\nbe applied at the crate-level.\n\ncc #18585","Alex Crichton",false],["6ee56c9a5febad45865b7d41422b7ae4d996fcaa","3a2c29237f73c7cf88424b80e427b1884f346b35@rust-lang.org","auto merge of #18688 : bkoropoff/rust/unboxed-closure-subst-fixes, r=nikomatsakis\n\nThis resolves some issues that remained after adding support for monomorphizing unboxed closures in trans.\r\n\r\nThere were a few places where a set of substitutions for an unboxed closure type were dropped on the floor and later recalculated from scratch based on the def ID, but this failed spectacularly when the closure originated from a different param environment.  The substitutions are now plumbed through end-to-end.  Closes #18661\r\n\r\nThere was also a conflict in the meaning of the self param space within the body of the unboxed closure.  Trans attempted to insert the unboxed closure type as the self type, but this could conflict with the self type from the param environment when an unboxed closure was used within a default method on a trait.  Since the body of an unboxed closure cannot refer to its own self type or value, there's no need for it to actually use the self space.  The downstream consumers of the substitutions in trans do not seem to need it either since they look up the type of the closure some other way, so I just stopped setting it.  Closes #18685.\r\n\r\nr? @pcwalton @nikomatsakis","bors",false],["a79d4be39cf99ed4dba1c757400a3ea708956653","5fc431c1e0f17b94f8fc43fe754260d1ed487491@gmail.com","Implement len() for EnumSet.","Joseph Crail",false],["01b599eb34125b7bc4d01fd7cc24876179ad6798","5fc431c1e0f17b94f8fc43fe754260d1ed487491@gmail.com","Add BitXor to EnumSet.","Joseph Crail",false],["3c442b92ae2dc684e02f9668eb8c54aad55f1d9d","550518ab9d14bd32155907315f74849d7b5c2b36@gmail.com","syntax: Use UFCS in the expansion of `#[deriving(PartialOrd)]`","Jorge Aparicio",false],["e81670856a8669e071ef5f11a1ba1c863d999e3d","3a2c29237f73c7cf88424b80e427b1884f346b35@rust-lang.org","auto merge of #18723 : mprobinson/rust/fence-typos, r=thestinger","bors",false],["12db4de554faf8e2f6baca4514b1e5983cb60783","5fc431c1e0f17b94f8fc43fe754260d1ed487491@gmail.com","Add tests for BitAnd and BitXor.","Joseph Crail",false]],"size":65,"ref":"refs/heads/hrtb-refactor-4-debruijn","head":"6302c59f60ab00e2e0bdb64df93a7727006b2a79"}