{"push_id":1004565892,"size":23,"distinct_size":23,"ref":"refs/heads/master","head":"f6e125f04a54ec65eac0ecd3cb68e180210a06fa","before":"25e42ac10653e4d7178e36201608cc269e3c66c7","commits":[{"sha":"ec0fdd5a4ae480a9b298685a74c678084d5582fc","author":{"email":"d6f83bf8c4bd84de31594083b8fedf440fa975d1@gmail.com","name":"Jeffrey Seyfried"},"message":"Lay the groundwork for privacy checking in typeck","distinct":true,"url":"https://api.github.com/repos/steveklabnik/rust/commits/ec0fdd5a4ae480a9b298685a74c678084d5582fc"},{"sha":"8f32fdecfbc56b7ddd39a418632a1149792e9033","author":{"email":"d6f83bf8c4bd84de31594083b8fedf440fa975d1@gmail.com","name":"Jeffrey Seyfried"},"message":"Remove `LastPrivate`","distinct":true,"url":"https://api.github.com/repos/steveklabnik/rust/commits/8f32fdecfbc56b7ddd39a418632a1149792e9033"},{"sha":"07957ffb2eace00019c2bb07fe5fc03191a476c7","author":{"email":"d6f83bf8c4bd84de31594083b8fedf440fa975d1@gmail.com","name":"Jeffrey Seyfried"},"message":"Refactor Module's field extern_crate_did: Option<DefId> to extern_crate_id: Option<NodeId>","distinct":true,"url":"https://api.github.com/repos/steveklabnik/rust/commits/07957ffb2eace00019c2bb07fe5fc03191a476c7"},{"sha":"b20d567c2b9b279fff049f087b725b6c75126156","author":{"email":"d6f83bf8c4bd84de31594083b8fedf440fa975d1@gmail.com","name":"Jeffrey Seyfried"},"message":"Privacy check paths in resolve and typeck","distinct":true,"url":"https://api.github.com/repos/steveklabnik/rust/commits/b20d567c2b9b279fff049f087b725b6c75126156"},{"sha":"d0566d633e042e3e2a3695b438005e4646bf795a","author":{"email":"d6f83bf8c4bd84de31594083b8fedf440fa975d1@gmail.com","name":"Jeffrey Seyfried"},"message":"Fix fallout in tests","distinct":true,"url":"https://api.github.com/repos/steveklabnik/rust/commits/d0566d633e042e3e2a3695b438005e4646bf795a"},{"sha":"2e36a7a644ca32f7c153a5128118fcd19cc6011a","author":{"email":"d6f83bf8c4bd84de31594083b8fedf440fa975d1@gmail.com","name":"Jeffrey Seyfried"},"message":"Fix breakage in rustc_metadata","distinct":true,"url":"https://api.github.com/repos/steveklabnik/rust/commits/2e36a7a644ca32f7c153a5128118fcd19cc6011a"},{"sha":"e67590b0821c8985a02b699471d85be6d2137bff","author":{"email":"d6f83bf8c4bd84de31594083b8fedf440fa975d1@gmail.com","name":"Jeffrey Seyfried"},"message":"Add tests","distinct":true,"url":"https://api.github.com/repos/steveklabnik/rust/commits/e67590b0821c8985a02b699471d85be6d2137bff"},{"sha":"59fafcf00c684665629e2ea79fd884623f7b8812","author":{"email":"95d4fbae31269cb49ff58f28edef3917f2e651d0@iki.fi","name":"vegai"},"message":"span_note => fileline_note","distinct":true,"url":"https://api.github.com/repos/steveklabnik/rust/commits/59fafcf00c684665629e2ea79fd884623f7b8812"},{"sha":"ffd734c35b345501ab72629757f3eb58df97e2f9","author":{"email":"7fcb34670283b6ba16bfb1909995639b51e96332@gmx.net","name":"Sebastian Wicki"},"message":"Update libc crate","distinct":true,"url":"https://api.github.com/repos/steveklabnik/rust/commits/ffd734c35b345501ab72629757f3eb58df97e2f9"},{"sha":"cf01fb68368ec985ffd3bf00e8e885780576da25","author":{"email":"511e41eea58229a0bcd571aa6e06c0691cdf030e@gmail.com","name":"Evan"},"message":"Make book ordering more natural\n\nVectors come up in sections dedicated to ownership with the assumption that we know something about it but we haven't seen it yet. On the other hand, you need not know anything about ownership or lifetimes to understand the basics of vectors covered in the vector section of the book. Additionally, by moving it where it is there is a natural progression from loops to an iterative type which discusses for loops. This kind of interaction is generally better for learning.\r\n\r\nI would like to have moved the struct section as well but I'm less confident about how to handle it since the ownership sections discuss structs and the structs section talks about mutable borrow.","distinct":true,"url":"https://api.github.com/repos/steveklabnik/rust/commits/cf01fb68368ec985ffd3bf00e8e885780576da25"},{"sha":"bd7e422996818d75041a801b2df4bd79f44937ae","author":{"email":"95d4fbae31269cb49ff58f28edef3917f2e651d0@iki.fi","name":"vegai"},"message":"Add a span note on type definition spot","distinct":true,"url":"https://api.github.com/repos/steveklabnik/rust/commits/bd7e422996818d75041a801b2df4bd79f44937ae"},{"sha":"675723e24376527afd36173bab2954154c474e27","author":{"email":"3a2c29237f73c7cf88424b80e427b1884f346b35@rust-lang.org","name":"bors"},"message":"Auto merge of #32000 - xaocon:master, r=steveklabnik\n\nVectors come up in sections dedicated to ownership with the assumption that we know something about it but we haven't seen it yet. On the other hand, you need not know anything about ownership or lifetimes to understand the basics of vectors covered in the vector section of the book. Additionally, by moving it where it is there is a natural progression from loops to an iterative type which discusses for loops. This kind of interaction is generally better for learning.\n\nI would like to have moved the struct section as well but I'm less confident about how to handle it since the ownership sections discuss structs and the structs section talks about mutable borrow.","distinct":true,"url":"https://api.github.com/repos/steveklabnik/rust/commits/675723e24376527afd36173bab2954154c474e27"},{"sha":"c0f8b085942c0c914c3c9d175303c23e1b4158e3","author":{"email":"5fe014533dc2118b313a9e0374041b564f2c4932@users.noreply.github.com","name":"Ulrik Sverdrup"},"message":"Use ptr::drop_in_place in Vec::drop\n\nDirectly use the drop glue for [T]. Still optimizes out in -O1 like with\nthe `needs_drop` intrinsic.","distinct":true,"url":"https://api.github.com/repos/steveklabnik/rust/commits/c0f8b085942c0c914c3c9d175303c23e1b4158e3"},{"sha":"1da364e98f46c828e5746be299b58b995e5f5007","author":{"email":"5fe014533dc2118b313a9e0374041b564f2c4932@users.noreply.github.com","name":"Ulrik Sverdrup"},"message":"Use ptr::drop_in_place in Vec::truncate","distinct":true,"url":"https://api.github.com/repos/steveklabnik/rust/commits/1da364e98f46c828e5746be299b58b995e5f5007"},{"sha":"7ceafaee4f3d8ed2268b1659dd99a541d71689a3","author":{"email":"5fe014533dc2118b313a9e0374041b564f2c4932@users.noreply.github.com","name":"Ulrik Sverdrup"},"message":"Use ptr::drop_in_place in VecDeque::drop\n\nJust like for Vec. This should benefit both non-optimized and optimized\nperformance. Non-optimized since the intrinsic drop_in_place is easily\nremoved, and optimized because iterating the slices is more efficient\nthan using the VecDeque iterators.","distinct":true,"url":"https://api.github.com/repos/steveklabnik/rust/commits/7ceafaee4f3d8ed2268b1659dd99a541d71689a3"},{"sha":"86357c37d26db32a1064a5d955f43c82452c9588","author":{"email":"95d4fbae31269cb49ff58f28edef3917f2e651d0@iki.fi","name":"vegai"},"message":"Fix test to reflect new note","distinct":true,"url":"https://api.github.com/repos/steveklabnik/rust/commits/86357c37d26db32a1064a5d955f43c82452c9588"},{"sha":"b9e61c9f403e89415a3787fae90fef5aad8ee477","author":{"email":"3a2c29237f73c7cf88424b80e427b1884f346b35@rust-lang.org","name":"bors"},"message":"Auto merge of #31996 - gandro:update-libc, r=alexcrichton\n\nThis fixes the `x86_64-rumprun-netbsd` target.\n\nr? @alexcrichton","distinct":true,"url":"https://api.github.com/repos/steveklabnik/rust/commits/b9e61c9f403e89415a3787fae90fef5aad8ee477"},{"sha":"01a6e8653b070f07604b784919575a4fc132bb2d","author":{"email":"95d4fbae31269cb49ff58f28edef3917f2e651d0@iki.fi","name":"vegai"},"message":"Type defined here note added to test","distinct":true,"url":"https://api.github.com/repos/steveklabnik/rust/commits/01a6e8653b070f07604b784919575a4fc132bb2d"},{"sha":"7b0b80ae21a195a5dba91d557f94a96136c27eaf","author":{"email":"3a2c29237f73c7cf88424b80e427b1884f346b35@rust-lang.org","name":"bors"},"message":"Auto merge of #32005 - vegai:31686, r=Manishearth\n\nFix note for type alias in trait position\n\nFixes #31686","distinct":true,"url":"https://api.github.com/repos/steveklabnik/rust/commits/7b0b80ae21a195a5dba91d557f94a96136c27eaf"},{"sha":"7cee8b9ffb6a2dac7e2f729988c2324e2f8ac10f","author":{"email":"3a2c29237f73c7cf88424b80e427b1884f346b35@rust-lang.org","name":"bors"},"message":"Auto merge of #31824 - jseyfried:privacy_in_resolve, r=nikomatsakis\n\nThis PR privacy checks paths as they are resolved instead of in `librustc_privacy` (fixes #12334 and fixes #31779). This removes the need for the `LastPrivate` system introduced in PR #9735, the limitations of which cause #31779.\n\nThis PR also reports privacy violations in paths to intra- and inter-crate items the same way -- it always reports the first inaccessible segment of the path.\n\nSince it fixes #31779, this is a [breaking-change]. For example, the following code would break:\n```rust\nmod foo {\n    pub use foo::bar::S;\n    mod bar { // `bar` should be private to `foo`\n        pub struct S;\n    }\n}\n\nimpl foo::S {\n    fn f() {}\n}\n\nfn main() {\n    foo::bar::S::f(); // This is now a privacy error\n}\n```\n\nr? @alexcrichton","distinct":true,"url":"https://api.github.com/repos/steveklabnik/rust/commits/7cee8b9ffb6a2dac7e2f729988c2324e2f8ac10f"}]}