{"push_id":923184778,"size":22,"distinct_size":22,"ref":"refs/heads/master","head":"5253294d222fe725fbbae1052d110f7eaa4ae10e","before":"badc23b6ad47c6b6d401a3ea1dc5163bdcd86cd7","commits":[{"sha":"0c6c34de87c899ecb8b977e7ef24510ab2a68168","author":{"email":"9ce5770b3bb4b2a1d59be2d97e34379cd192299f@steveklabnik.com","name":"Steve Klabnik"},"message":"Remove \"Learn Rust\" from TRPL.\n\nSome history:\n\nWhile getting Rust to 1.0, it was a struggle to keep the book in a\nworking state. I had always wanted a certain kind of TOC, but couldn't\nquite get it there.\n\nAt the 11th hour, I wrote up \"Rust inside other langauges\" and \"Dining\nPhilosophers\" in an attempt to get the book in the direction I wanted to\ngo. They were fine, but not my best work. I wanted to further expand\nthis section, but it's just never going to end up happening. We're doing\nthe second draft of the book now, and these sections are basically gone\nalready.\n\nHere's the issues with these two sections, and removing them just fixes\nit all:\n\n// Philosophers\n\nThere was always controversy over which ones were chosen, and why. This\nis kind of a perpetual bikeshed, but it comes up every once in a while.\n\nThe implementation was originally supposed to show off channels, but\nnever did, due to time constraints. Months later, I still haven't\nre-written it to use them.\n\nPeople get different results and assume that means they're wrong, rather\nthan the non-determinism inherent in concurrency. Platform differences\naggrivate this, as does the exact amount of sleeping and printing.\n\n// Rust Inside Other Languages\n\nThis section is wonderful, and shows off a strength of Rust. However,\nit's not clear what qualifies a language to be in this section. And I'm\nnot sure how tracking a ton of other languages is gonna work, into the\nfuture; we can't test _anything_ in this section, so it's prone to\nbitrot.\n\nBy removing this section, and making the Guessing Game an initial\ntutorial, we will move this version of the book closer to the future\nversion, and just eliminate all of these questions.\n\nIn addition, this also solves the 'split-brained'-ness of having two\npaths, which has endlessly confused people in the past.\n\nI'm sad to see these sections go, but I think it's for the best.\n\nFixes #30471\nFixes #30163\nFixes #30162\nFixes #25488\nFixes #30345\nFixes #28713\nFixes #28915\n\nAnd probably others. This lengthy list alone is enough to show that\nthese should have been removed.\n\nRIP.","distinct":true,"url":"https://api.github.com/repos/sliz1/rust/commits/0c6c34de87c899ecb8b977e7ef24510ab2a68168"},{"sha":"e3c89943ace61a5ca99e8e0910e86f0ca4887507","author":{"email":"4fb647a2c3ead3c3f40f455abb861941f7d4ffb2@posteo.net","name":"Michael Woerister"},"message":"Forward attributes of translated function/closure to trans_fn/trans_closure.","distinct":true,"url":"https://api.github.com/repos/sliz1/rust/commits/e3c89943ace61a5ca99e8e0910e86f0ca4887507"},{"sha":"ff93fc81925a93cb1434e6c3a8537f10402827e7","author":{"email":"4fb647a2c3ead3c3f40f455abb861941f7d4ffb2@posteo.net","name":"Michael Woerister"},"message":"Deactivate one test in mir_trans_calls.rs since it fails now that it is correctly executed.","distinct":true,"url":"https://api.github.com/repos/sliz1/rust/commits/ff93fc81925a93cb1434e6c3a8537f10402827e7"},{"sha":"4dee31c1195882505bfd64910a4b6c0d2a7468a1","author":{"email":"7a053ca3c949ae7e7d341f56f6f5cf0fc7d0a84e@gmail.com","name":"Wesley Wiser"},"message":"Rustdoc - Specify max-image size\n\nFixes #24861","distinct":true,"url":"https://api.github.com/repos/sliz1/rust/commits/4dee31c1195882505bfd64910a4b6c0d2a7468a1"},{"sha":"6e68cdfcc212943fdee9ac5bf4c5e7e243790aae","author":{"email":"b1db332606efda9d9987ee09ce352e2a96143e72@gmail.com","name":"Guillaume Gomez"},"message":"Add test for \"malformed macro lhs\" and change back span_bug to span_fatal","distinct":true,"url":"https://api.github.com/repos/sliz1/rust/commits/6e68cdfcc212943fdee9ac5bf4c5e7e243790aae"},{"sha":"33f3c52d32e6f91494bc305fd25f9d5ae5a11702","author":{"email":"d594ecbf83e27e450d98e0ae337a56b82adfc153@gmail.com","name":"Toby Scrace"},"message":"Make float parsing \".\" return Err\n\nThis makes both of the following return Err:\n\n    \".\".parse::<f32>()\n    \".\".parse::<f64>()\n\nThis is a [breaking-change], which the libs team have classified as a\nbug fix.","distinct":true,"url":"https://api.github.com/repos/sliz1/rust/commits/33f3c52d32e6f91494bc305fd25f9d5ae5a11702"},{"sha":"ae96ce33e7927b4a8c927388f5134c88f5a7480c","author":{"email":"e7b73ca0953a5d12982870cd6d45d044b17f68d7@gmail.com","name":"Tshepang Lekhonkhobe"},"message":"doc: these examples do not need Copy and Clone traits\n\nAlso sneak in a missing trailing comma","distinct":true,"url":"https://api.github.com/repos/sliz1/rust/commits/ae96ce33e7927b4a8c927388f5134c88f5a7480c"},{"sha":"41611baececec41b54730079a53afb43ac7f9e49","author":{"email":"3a2c29237f73c7cf88424b80e427b1884f346b35@rust-lang.org","name":"bors"},"message":"Auto merge of #30661 - michaelwoerister:trans_fn_attrs, r=nrc\n\nSo far `librustc::trans::base::trans_fn()` and `trans_closure()` have been passed the list of attributes on the function being translated *only* if the function was local and non-generic. For generic functions, functions inlined from other crates, functions with foreign ABI and for closures, only an empty list of attributes was ever passed to `trans_fn()`.\nThis led to the case that generic functions marked with `#[rustc_mir]` where not actually translated via MIR but via the legacy translation path.\n\nThis PR makes function/closure attributes always be passed to `trans_fn()` and disables the one test where this makes a difference.\n\nIf there is an actual reason why attributes were not passed along in these cases, let me know.\n\ncc @rust-lang/compiler\ncc @luqmana regarding the test case","distinct":true,"url":"https://api.github.com/repos/sliz1/rust/commits/41611baececec41b54730079a53afb43ac7f9e49"},{"sha":"661976cbd1ca3f9cd32d60cc0c48d9b291d7887f","author":{"email":"625600233cb3bcab32268c17610882e0fdaed295@solson.me","name":"Scott Olson"},"message":"Add a human-readable textual form for MIR.\n\nThis can be dumped for a particular `fn` with the attribute\n`#![rustc_mir(pretty = \"filename.mir\"]`.","distinct":true,"url":"https://api.github.com/repos/sliz1/rust/commits/661976cbd1ca3f9cd32d60cc0c48d9b291d7887f"},{"sha":"5a0c1b3a8876e34534926dd2d0e447ca97b9b05d","author":{"email":"625600233cb3bcab32268c17610882e0fdaed295@solson.me","name":"Scott Olson"},"message":"Print BasicBlock names in lowercase.","distinct":true,"url":"https://api.github.com/repos/sliz1/rust/commits/5a0c1b3a8876e34534926dd2d0e447ca97b9b05d"},{"sha":"9db76f311de670dd591c7c8ebb14799942c9161f","author":{"email":"625600233cb3bcab32268c17610882e0fdaed295@solson.me","name":"Scott Olson"},"message":"Use fmt::Result instead of Result<(), Error>.","distinct":true,"url":"https://api.github.com/repos/sliz1/rust/commits/9db76f311de670dd591c7c8ebb14799942c9161f"},{"sha":"522354415ea4f4c9bfbaddee249a367b173df1af","author":{"email":"625600233cb3bcab32268c17610882e0fdaed295@solson.me","name":"Scott Olson"},"message":"Pretty-print aggregates more prettily in MIR.","distinct":true,"url":"https://api.github.com/repos/sliz1/rust/commits/522354415ea4f4c9bfbaddee249a367b173df1af"},{"sha":"6a33221ea54ad4a496c06f5d93fb1e32c8076454","author":{"email":"625600233cb3bcab32268c17610882e0fdaed295@solson.me","name":"Scott Olson"},"message":"Improve pretty-printing of references in MIR.","distinct":true,"url":"https://api.github.com/repos/sliz1/rust/commits/6a33221ea54ad4a496c06f5d93fb1e32c8076454"},{"sha":"19a50e4f2a899ad2b4a7b05709dcfd8450a7bbdc","author":{"email":"625600233cb3bcab32268c17610882e0fdaed295@solson.me","name":"Scott Olson"},"message":"Pretty-print static lvalues in MIR as just their path.","distinct":true,"url":"https://api.github.com/repos/sliz1/rust/commits/19a50e4f2a899ad2b4a7b05709dcfd8450a7bbdc"},{"sha":"c9a7171e10f62ba01d263a57b4242beb8d4832dd","author":{"email":"625600233cb3bcab32268c17610882e0fdaed295@solson.me","name":"Scott Olson"},"message":"Pretty-print ReturnPointer as 'return' in MIR.","distinct":true,"url":"https://api.github.com/repos/sliz1/rust/commits/c9a7171e10f62ba01d263a57b4242beb8d4832dd"},{"sha":"080994a189c7b3680e822d3f6ddf448c152e6374","author":{"email":"625600233cb3bcab32268c17610882e0fdaed295@solson.me","name":"Scott Olson"},"message":"Add 'mut' to MIR temp variable debug output.","distinct":true,"url":"https://api.github.com/repos/sliz1/rust/commits/080994a189c7b3680e822d3f6ddf448c152e6374"},{"sha":"d5e229057c93222afd4943a49d382c4c5d6e8c26","author":{"email":"3a2c29237f73c7cf88424b80e427b1884f346b35@rust-lang.org","name":"bors"},"message":"Auto merge of #30681 - Toby-S:master, r=bluss\n\nMake `\".\".parse::<f32>()` and `\".\".parse::<f64>()` return Err\n\nThis fixes #30344.\n\nThis is a [breaking-change], which the libs team have classified as a\nbug fix.","distinct":true,"url":"https://api.github.com/repos/sliz1/rust/commits/d5e229057c93222afd4943a49d382c4c5d6e8c26"},{"sha":"e2d649405ab0bcbc494471285108243ad7ceeca9","author":{"email":"3a2c29237f73c7cf88424b80e427b1884f346b35@rust-lang.org","name":"bors"},"message":"Auto merge of #30707 - tsion:mir-text, r=nikomatsakis\n\nr? @nikomatsakis\n\nTextual MIR can be dumped for a particular `fn` with `#![rustc_mir(pretty = \"filename.mir\")]`. Below is an example of the text output.\n\n```rust\nstruct Point {\n    x: i32,\n    y: i32,\n}\n\nfn example() -> Point {\n    let mut e = Point { x: 1, y: 2 };\n\n    let num = 5;\n    let plus_num = |x: i32| x + num;\n\n    e.y = plus_num(e.x);\n    e\n}\n```\n\n```rust\nfn() -> Point {\n    let mut var0: Point; // e\n    let var1: i32; // num\n    let var2: [closure@test.rs:84:20: 84:36 num:&i32]; // plus_num\n    let mut tmp0: ();\n    let mut tmp1: &i32;\n    let mut tmp2: ();\n    let mut tmp3: i32;\n    let mut tmp4: &[closure@test.rs:84:20: 84:36 num:&i32];\n    let mut tmp5: i32;\n    let mut tmp6: Point;\n\n    bb0: {\n        var0 = Point { x: 1, y: 2 };\n        var1 = 5;\n        tmp1 = &var1;\n        var2 = [closure@test.rs:84:20: 84:36] { num: tmp1 };\n        tmp4 = &var2;\n        tmp5 = var0.0;\n        tmp3 = tmp4(tmp5) -> [return: bb3, unwind: bb4];\n    }\n\n    bb1: {\n        return;\n    }\n\n    bb2: {\n        diverge;\n    }\n\n    bb3: {\n        drop var0.1;\n        var0.1 = tmp3;\n        drop tmp2;\n        drop var2;\n        drop var0;\n        tmp6 = var0;\n        return = tmp6;\n        drop tmp6;\n        goto -> bb1;\n    }\n\n    bb4: {\n        drop var2;\n        goto -> bb5;\n    }\n\n    bb5: {\n        drop var0;\n        goto -> bb2;\n    }\n}\n```\n\n```rust\nfn(arg0: &[closure@test.rs:84:20: 84:36 num:&i32], arg1: i32) -> i32 {\n    let var0: i32; // x\n    let mut tmp0: ();\n    let mut tmp1: i32;\n    let mut tmp2: i32;\n\n    bb0: {\n        var0 = arg1;\n        tmp1 = var0;\n        tmp2 = (*(*arg0).0);\n        return = Add(tmp1, tmp2);\n        goto -> bb1;\n    }\n\n    bb1: {\n        return;\n    }\n\n    bb2: {\n        diverge;\n    }\n}\n```","distinct":true,"url":"https://api.github.com/repos/sliz1/rust/commits/e2d649405ab0bcbc494471285108243ad7ceeca9"},{"sha":"803c3e2ee8be0516d68131d4c8bae31cfce67891","author":{"email":"3a2c29237f73c7cf88424b80e427b1884f346b35@rust-lang.org","name":"bors"},"message":"Auto merge of #30595 - steveklabnik:remove_learn_rust, r=gankro\n\nSome history:\n\nWhile getting Rust to 1.0, it was a struggle to keep the book in a\nworking state. I had always wanted a certain kind of TOC, but couldn't\nquite get it there.\n\nAt the 11th hour, I wrote up \"Rust inside other langauges\" and \"Dining\nPhilosophers\" in an attempt to get the book in the direction I wanted to\ngo. They were fine, but not my best work. I wanted to further expand\nthis section, but it's just never going to end up happening. We're doing\nthe second draft of the book now, and these sections are basically gone\nalready.\n\nHere's the issues with these two sections, and removing them just fixes\nit all:\n\n// Philosophers\n\nThere was always controversy over which ones were chosen, and why. This\nis kind of a perpetual bikeshed, but it comes up every once in a while.\n\nThe implementation was originally supposed to show off channels, but\nnever did, due to time constraints. Months later, I still haven't\nre-written it to use them.\n\nPeople get different results and assume that means they're wrong, rather\nthan the non-determinism inherent in concurrency. Platform differences\naggrivate this, as does the exact amount of sleeping and printing.\n\n// Rust Inside Other Languages\n\nThis section is wonderful, and shows off a strength of Rust. However,\nit's not clear what qualifies a language to be in this section. And I'm\nnot sure how tracking a ton of other languages is gonna work, into the\nfuture; we can't test _anything_ in this section, so it's prone to\nbitrot.\n\nBy removing this section, and making the Guessing Game an initial\ntutorial, we will move this version of the book closer to the future\nversion, and just eliminate all of these questions.\n\nIn addition, this also solves the 'split-brained'-ness of having two\npaths, which has endlessly confused people in the past.\n\nI'm sad to see these sections go, but I think it's for the best.\n\nFixes #30471\nFixes #30163\nFixes #30162\nFixes #25488\nFixes #30345\nFixes #29590\nFixes #28713\nFixes #28915\n\nAnd probably others. This lengthy list alone is enough to show that\nthese should have been removed.\n\nRIP.","distinct":true,"url":"https://api.github.com/repos/sliz1/rust/commits/803c3e2ee8be0516d68131d4c8bae31cfce67891"},{"sha":"dbacacda8ac5dba72afd57b971c71a71242e7f67","author":{"email":"3a2c29237f73c7cf88424b80e427b1884f346b35@rust-lang.org","name":"bors"},"message":"Auto merge of #30708 - GuillaumeGomez:malformed_macro, r=sanxiyn\n\nPart of #30669","distinct":true,"url":"https://api.github.com/repos/sliz1/rust/commits/dbacacda8ac5dba72afd57b971c71a71242e7f67"}]}