{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":724712,"defaultBranch":"master","name":"rust","ownerLogin":"rust-lang","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2010-06-16T20:39:03.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/5430905?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1715473025.0","currentOid":""},"activityList":{"items":[{"before":"12075f04e677de64f740687f601114e2a21e09ca","after":"20483b68265f64de79442cf489a5316f918578f0","ref":"refs/heads/master","pushedAt":"2024-05-20T05:49:17.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125288 - nikic:update-llvm-18.1.6, r=cuviper\n\nUpdate to LLVM 18.1.6\n\nThis rebases our LLVM fork on top of LLVM 18.1.6, which is planned to be the last release of the 18.x series.\n\nFixes #123695.\nFixes #125053.\n\nr? `@cuviper`","shortMessageHtmlLink":"Auto merge of #125288 - nikic:update-llvm-18.1.6, r=cuviper"}},{"before":"d84b9037541f45dc2c52a41d723265af211c0497","after":"12075f04e677de64f740687f601114e2a21e09ca","ref":"refs/heads/master","pushedAt":"2024-05-20T02:57:13.000Z","pushType":"push","commitsCount":5,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #123878 - jwong101:inplacecollect, r=jhpratt\n\noptimize inplace collection of Vec\n\nThis PR has the following changes:\n\n1. Using `usize::unchecked_mul` in https://github.com/rust-lang/rust/blob/79424056b05eaa9563d16dfab9b9a0c8f033f220/library/alloc/src/vec/in_place_collect.rs#L262 as LLVM, does not know that the operation can't wrap, since that's the size of the original allocation.\n\nGiven the following:\n\n```rust\n\npub struct Foo([usize; 3]);\n\npub fn unwrap_copy(v: Vec) -> Vec<[usize; 3]> {\n v.into_iter().map(|f| f.0).collect()\n}\n```\n\n
\nBefore this commit:\n\n```llvm\ndefine void `@unwrap_copy(ptr` noalias nocapture noundef writeonly sret([24 x i8]) align 8 dereferenceable(24) %_0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %iter) {\nstart:\n %me.sroa.0.0.copyload.i = load i64, ptr %iter, align 8\n %me.sroa.4.0.self.sroa_idx.i = getelementptr inbounds i8, ptr %iter, i64 8\n %me.sroa.4.0.copyload.i = load ptr, ptr %me.sroa.4.0.self.sroa_idx.i, align 8\n %me.sroa.5.0.self.sroa_idx.i = getelementptr inbounds i8, ptr %iter, i64 16\n %me.sroa.5.0.copyload.i = load i64, ptr %me.sroa.5.0.self.sroa_idx.i, align 8\n %_19.i.idx = mul nsw i64 %me.sroa.5.0.copyload.i, 24\n %0 = udiv i64 %_19.i.idx, 24\n\n; Unnecessary calculation\n %_16.i.i = mul i64 %me.sroa.0.0.copyload.i, 24\n %dst_cap.i.i = udiv i64 %_16.i.i, 24\n\n store i64 %dst_cap.i.i, ptr %_0, align 8\n %1 = getelementptr inbounds i8, ptr %_0, i64 8\n store ptr %me.sroa.4.0.copyload.i, ptr %1, align 8\n %2 = getelementptr inbounds i8, ptr %_0, i64 16\n store i64 %0, ptr %2, align 8\n ret void\n}\n```\n
\n\n
\nAfter:\n\n```llvm\ndefine void `@unwrap_copy(ptr` noalias nocapture noundef writeonly sret([24 x i8]) align 8 dereferenceable(24) %_0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %iter) {\nstart:\n %me.sroa.0.0.copyload.i = load i64, ptr %iter, align 8\n %me.sroa.4.0.self.sroa_idx.i = getelementptr inbounds i8, ptr %iter, i64 8\n %me.sroa.4.0.copyload.i = load ptr, ptr %me.sroa.4.0.self.sroa_idx.i, align 8\n %me.sroa.5.0.self.sroa_idx.i = getelementptr inbounds i8, ptr %iter, i64 16\n %me.sroa.5.0.copyload.i = load i64, ptr %me.sroa.5.0.self.sroa_idx.i, align 8\n %_19.i.idx = mul nsw i64 %me.sroa.5.0.copyload.i, 24\n %0 = udiv i64 %_19.i.idx, 24\n store i64 %me.sroa.0.0.copyload.i, ptr %_0, align 8\n %1 = getelementptr inbounds i8, ptr %_0, i64 8\n store ptr %me.sroa.4.0.copyload.i, ptr %1, align 8\n %2 = getelementptr inbounds i8, ptr %_0, i64 16\n store i64 %0, ptr %2, align 8, !alias.scope !9, !noalias !14\n ret void\n}\n```\n
\n\nNote that there is still one more `mul,udiv` pair that I couldn't get\nrid of. The root cause is the same issue as https://github.com/rust-lang/rust/issues/121239, the `nuw` gets\nstripped off of `ptr::sub_ptr`.\n\n2.\n\n`Iterator::try_fold` gets called on the underlying Iterator in\n`SpecInPlaceCollect::collect_in_place` whenever it does not implement\n`TrustedRandomAccess`. For types that impl `Drop`, LLVM currently can't\ntell that the drop can never occur, when using the default\n`Iterator::try_fold` implementation.\n\nFor example, given the following code from #120493\n\n```rust\n#[repr(transparent)]\nstruct WrappedClone {\n inner: String\n}\n\n#[no_mangle]\npub fn unwrap_clone(list: Vec) -> Vec {\n list.into_iter().map(|s| s.inner).collect()\n}\n```\n\n
\nThe asm for the `unwrap_clone` method is currently:\n\n```asm\nunwrap_clone:\n push rbp\n push r15\n push r14\n push r13\n push r12\n push rbx\n push rax\n mov rbx, rdi\n mov r12, qword ptr [rsi]\n mov rdi, qword ptr [rsi + 8]\n mov rax, qword ptr [rsi + 16]\n movabs rsi, -6148914691236517205\n mov r14, r12\n test rax, rax\n je .LBB0_10\n lea rcx, [rax + 2*rax]\n lea r14, [r12 + 8*rcx]\n shl rax, 3\n lea rax, [rax + 2*rax]\n xor ecx, ecx\n.LBB0_2:\n cmp qword ptr [r12 + rcx], 0\n je .LBB0_4\n add rcx, 24\n cmp rax, rcx\n jne .LBB0_2\n jmp .LBB0_10\n.LBB0_4:\n lea rdx, [rax - 24]\n lea r14, [r12 + rcx]\n cmp rdx, rcx\n je .LBB0_10\n mov qword ptr [rsp], rdi\n sub rax, rcx\n add rax, -24\n mul rsi\n mov r15, rdx\n lea rbp, [r12 + rcx]\n add rbp, 32\n shr r15, 4\n mov r13, qword ptr [rip + __rust_dealloc@GOTPCREL]\n jmp .LBB0_6\n.LBB0_8:\n add rbp, 24\n dec r15\n je .LBB0_9\n.LBB0_6:\n mov rsi, qword ptr [rbp]\n test rsi, rsi\n je .LBB0_8\n mov rdi, qword ptr [rbp - 8]\n mov edx, 1\n call r13\n jmp .LBB0_8\n.LBB0_9:\n mov rdi, qword ptr [rsp]\n movabs rsi, -6148914691236517205\n.LBB0_10:\n sub r14, r12\n mov rax, r14\n mul rsi\n shr rdx, 4\n mov qword ptr [rbx], r12\n mov qword ptr [rbx + 8], rdi\n mov qword ptr [rbx + 16], rdx\n mov rax, rbx\n add rsp, 8\n pop rbx\n pop r12\n pop r13\n pop r14\n pop r15\n pop rbp\n ret\n```\n
\n\n
\nAfter this PR:\n\n```asm\nunwrap_clone:\n\tmov\trax, rdi\n\tmovups\txmm0, xmmword ptr [rsi]\n\tmov\trcx, qword ptr [rsi + 16]\n\tmovups\txmmword ptr [rdi], xmm0\n\tmov\tqword ptr [rdi + 16], rcx\n\tret\n```\n
\n\nFixes https://github.com/rust-lang/rust/issues/120493","shortMessageHtmlLink":"Auto merge of #123878 - jwong101:inplacecollect, r=jhpratt"}},{"before":"1d1283ed095ed605297b148e1284e1c53290ec91","after":"d84b9037541f45dc2c52a41d723265af211c0497","ref":"refs/heads/master","pushedAt":"2024-05-19T23:36:44.000Z","pushType":"push","commitsCount":53,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125294 - matthiaskrgr:rollup-w42c829, r=matthiaskrgr\n\nRollup of 4 pull requests\n\nSuccessful merges:\n\n - #124948 (chore: Remove repeated words (extension of #124924))\n - #124992 (Add example to IsTerminal::is_terminal)\n - #125279 (make `Debug` impl for `Term` simpler)\n - #125286 (Miri subtree update)\n\nr? `@ghost`\n`@rustbot` modify labels: rollup","shortMessageHtmlLink":"Auto merge of #125294 - matthiaskrgr:rollup-w42c829, r=matthiaskrgr"}},{"before":"959a67a7f2215d80b55e765d6c4b3f5a711ad484","after":"1d1283ed095ed605297b148e1284e1c53290ec91","ref":"refs/heads/master","pushedAt":"2024-05-19T21:29:38.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125006 - spastorino:generics-is-empty, r=compiler-errors\n\nAdd and use generics.is_empty() and generics.is_own_empty, rather than using generics' attributes\n\nr? `@compiler-errors`\n\nRelated to #123929","shortMessageHtmlLink":"Auto merge of #125006 - spastorino:generics-is-empty, r=compiler-errors"}},{"before":"698293518de49ac79eb7874e97557f8e2eabda06","after":"959a67a7f2215d80b55e765d6c4b3f5a711ad484","ref":"refs/heads/master","pushedAt":"2024-05-19T19:21:51.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #123786 - a1phyr:cursor_unsafe, r=joboet\n\nRemove bound checks from `BorrowedBuf` and `BorrowedCursor` methods","shortMessageHtmlLink":"Auto merge of #123786 - a1phyr:cursor_unsafe, r=joboet"}},{"before":"7d2a95b143272062b8a5722910f6e9945f131751","after":"698293518de49ac79eb7874e97557f8e2eabda06","ref":"refs/heads/master","pushedAt":"2024-05-19T17:12:10.000Z","pushType":"push","commitsCount":17,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125280 - compiler-errors:rollup-401itda, r=compiler-errors\n\nRollup of 7 pull requests\n\nSuccessful merges:\n\n - #123709 (Update documentation related to the recent cmd.exe fix)\n - #124304 (revise the interpretation of ReadDir for HermitOS)\n - #124708 (Actually use the `#[do_not_recommend]` attribute if present)\n - #125252 (Add `#[inline]` to float `Debug` fallback used by `cfg(no_fp_fmt_parse)`)\n - #125261 (crashes: add more)\n - #125270 (Followup fixes from #123344)\n - #125275 (Migrate `run-make/rustdoc-scrape-examples-test` to new `rmake.rs`)\n\nr? `@ghost`\n`@rustbot` modify labels: rollup","shortMessageHtmlLink":"Auto merge of #125280 - compiler-errors:rollup-401itda, r=compiler-er…"}},{"before":"84b9b6d16c9328fa495743638f664f80a7379795","after":"7d2a95b143272062b8a5722910f6e9945f131751","ref":"refs/heads/master","pushedAt":"2024-05-19T15:01:52.000Z","pushType":"push","commitsCount":139,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125272 - lnicola:sync-from-ra, r=lnicola\n\nSubtree update of `rust-analyzer`\n\nr? `@ghost`","shortMessageHtmlLink":"Auto merge of #125272 - lnicola:sync-from-ra, r=lnicola"}},{"before":"7c735958b2c5c25565625820134d82b0871a426e","after":"84b9b6d16c9328fa495743638f664f80a7379795","ref":"refs/heads/master","pushedAt":"2024-05-19T12:55:28.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125145 - Kobzol:ci-toolstate, r=Mark-Simulacrum\n\nCI: fix toolstate publishing\n\nToolstate publishing after something broke was not working (discovered [here](https://github.com/rust-lang/rust/pull/124050#issuecomment-2111292015)). The toolstate env. vars should only be needed for the publishing step, so I moved them there.\n\nThe toolstate script is also being checked in `mingw-check` on PR and auto CI, but it doesn't really seem to do anything, and it shouldn't require the token.","shortMessageHtmlLink":"Auto merge of #125145 - Kobzol:ci-toolstate, r=Mark-Simulacrum"}},{"before":"496f7310c80292f54c36370140a46bd9e71a6906","after":"7c735958b2c5c25565625820134d82b0871a426e","ref":"refs/heads/master","pushedAt":"2024-05-19T10:48:18.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #124674 - onur-ozkan:followup-124461, r=pietroalbini\n\nkeep the `STAGE0_MISSING_TARGETS` list updated\n\nImplements https://github.com/rust-lang/rust/pull/124461#issuecomment-2092574309.\n\nr? pietroalbini","shortMessageHtmlLink":"Auto merge of #124674 - onur-ozkan:followup-124461, r=pietroalbini"}},{"before":"6579ed89f0fcc26da71afdd11d30d63f6f812a0a","after":"496f7310c80292f54c36370140a46bd9e71a6906","ref":"refs/heads/master","pushedAt":"2024-05-19T08:40:48.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #124640 - Billy-Sheppard:master, r=dtolnay\n\nFix #124275: Implemented Default for `Arc`\n\nWith added implementations.\n\n```\nGOOD Arc\nBROKEN Arc // removed\nGOOD Rc\nGOOD Rc\nBROKEN Rc // removed\n\nGOOD Rc<[T]>\nGOOD Arc<[T]>\n```\n\nFor discussion of https://github.com/rust-lang/rust/pull/124367#issuecomment-2091940137.\n\nKey pain points currently:\n> I've had a guess at the best locations/feature attrs for them but they might not be correct.\n\n> However I'm unclear how to get the OsStr impl to compile, which file should they go in to avoid the error below? Is it possible, perhaps with some special std rust lib magic?","shortMessageHtmlLink":"Auto merge of #124640 - Billy-Sheppard:master, r=dtolnay"}},{"before":"bfa3635df920454cdf03f6d268dfaac769375df3","after":"6579ed89f0fcc26da71afdd11d30d63f6f812a0a","ref":"refs/heads/master","pushedAt":"2024-05-19T06:24:13.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #124500 - VladimirMakaev:lldb-str-formatters, r=Mark-Simulacrum\n\nlldb-formatters: Use StdSliceSyntheticProvider for &str\n\n&str has associated summary provider which correctly displays string values in debugger, but while working on https://github.com/rust-lang/rust/pull/124458 I've noticed that a &str inside an enum displays a blob of memory until a 0 is reached (as a c-string) which makes a very bizarre experience when debugging\n\nHowever there is already StdSliceSyntheticProvider which we use for other slices. This PR enables the same synthetic provider to be used for &str, however the summary provider is still fixed to return the string value\n\nI've added a test `debuginfo/strings-and-strs.rs` which prior to this PR would output the following in LLDB:\n```\n* thread #1, name = 'a', stop reason = breakpoint 1.1\n frame #0: 0x0000555555556383 a`strings_and_strs::main::h1d2b5f9227b8767d at strings-and-strs.rs:47:5\n 44 \t let plain_str = \"Hello\";\n 45 \t let str_in_struct = Foo { inner: \"Hello\" };\n 46 \t let str_in_tuple = (\"Hello\", \"World\");\n-> 47 \t zzz(); // #break\n 48 \t}\n 49\n 50 \tfn zzz() {\n(lldb) frame var\n(alloc::string::String) plain_string = \"Hello\" {\n vec = size=5 {\n [0] = 'H'\n [1] = 'e'\n [2] = 'l'\n [3] = 'l'\n [4] = 'o'\n }\n}\n(&str) plain_str = \"Hello\" {\n data_ptr = 0x0000555555557263 \"HelloWorld\\U00000001gdb_load_rust_pretty_printers.py\"\n length = 5\n}\n(strings_and_strs::Foo) str_in_struct = {\n inner = \"Hello\" {\n data_ptr = 0x0000555555557263 \"HelloWorld\\U00000001gdb_load_rust_pretty_printers.py\"\n length = 5\n }\n}\n((&str, &str)) str_in_tuple = {\n 0 = \"Hello\" {\n data_ptr = 0x0000555555557263 \"HelloWorld\\U00000001gdb_load_rust_pretty_printers.py\"\n length = 5\n }\n 1 = \"World\" {\n data_ptr = 0x0000555555557268 \"World\\U00000001gdb_load_rust_pretty_printers.py\"\n length = 5\n }\n}\n```\nAfter this PR it would look the following way:\n\n```\n* thread #1, name = 'a', stop reason = breakpoint 1.1\n frame #0: 0x0000555555556383 a`strings_and_strs::main::h1d2b5f9227b8767d at strings-and-strs.rs:47:5\n 44 \t let plain_str = \"Hello\";\n 45 \t let str_in_struct = Foo { inner: \"Hello\" };\n 46 \t let str_in_tuple = (\"Hello\", \"World\");\n-> 47 \t zzz(); // #break\n 48 \t}\n 49\n 50 \tfn zzz() {\n(lldb) frame var\n(alloc::string::String) plain_string = \"Hello\" {\n vec = size=5 {\n [0] = 'H'\n [1] = 'e'\n [2] = 'l'\n [3] = 'l'\n [4] = 'o'\n }\n}\n(&str) plain_str = \"Hello\" {\n [0] = 'H'\n [1] = 'e'\n [2] = 'l'\n [3] = 'l'\n [4] = 'o'\n}\n(strings_and_strs::Foo) str_in_struct = {\n inner = \"Hello\" {\n [0] = 'H'\n [1] = 'e'\n [2] = 'l'\n [3] = 'l'\n [4] = 'o'\n }\n}\n((&str, &str)) str_in_tuple = {\n 0 = \"Hello\" {\n [0] = 'H'\n [1] = 'e'\n [2] = 'l'\n [3] = 'l'\n [4] = 'o'\n }\n 1 = \"World\" {\n [0] = 'W'\n [1] = 'o'\n [2] = 'r'\n [3] = 'l'\n [4] = 'd'\n }\n}\n```","shortMessageHtmlLink":"Auto merge of #124500 - VladimirMakaev:lldb-str-formatters, r=Mark-Si…"}},{"before":"7690f29bdb6460ab525a8e8919420a4675a93386","after":"bfa3635df920454cdf03f6d268dfaac769375df3","ref":"refs/heads/master","pushedAt":"2024-05-19T04:17:46.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #99969 - calebsander:feature/collect-box-str, r=dtolnay\n\nalloc: implement FromIterator for Box\n\n`Box<[T]>` implements `FromIterator` using `Vec` + `into_boxed_slice()`.\nAdd analogous `FromIterator` implementations for `Box`\nmatching the current implementations for `String`.\nRemove the `Global` allocator requirement for `FromIterator>` too.\n\nACP: https://github.com/rust-lang/libs-team/issues/196","shortMessageHtmlLink":"Auto merge of #99969 - calebsander:feature/collect-box-str, r=dtolnay"}},{"before":"b1ec1bd65f89c1375d2cf2fb733a87ef390276d3","after":"7690f29bdb6460ab525a8e8919420a4675a93386","ref":"refs/heads/master","pushedAt":"2024-05-19T02:11:59.000Z","pushType":"push","commitsCount":6,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125230 - compiler-errors:uplift-query-stuff, r=lcnr\n\nUplift more query stuff\n\n- Uplift various query input/response internals\n- Uplift the `ProofTree` structures and make the `ProofTreeBuilder` stuff (mostly) generic over `Interner`\n- Stop using `TyCtxt::def_kind` in favor of `AliasTerm::kind`\n\nr? lcnr","shortMessageHtmlLink":"Auto merge of #125230 - compiler-errors:uplift-query-stuff, r=lcnr"}},{"before":"d560561e0d8eb1ede123bb97f618e1d0c7cb9a4a","after":"36c09337b9e0a4e313547c8fa7a5c7217850a6e6","ref":"refs/heads/cargo_update","pushedAt":"2024-05-19T00:17:38.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"cargo update\n\n Locking 24 packages to latest compatible versions\n Updating ammonia v3.3.0 -> v4.0.0\n Updating anyhow v1.0.83 -> v1.0.86\n Updating camino v1.1.6 -> v1.1.7\n Updating darling v0.20.8 -> v0.20.9\n Updating darling_core v0.20.8 -> v0.20.9\n Updating darling_macro v0.20.8 -> v0.20.9\n Adding dbus v0.9.7\n Updating either v1.11.0 -> v1.12.0\n Adding html5ever v0.27.0\n Updating instant v0.1.12 -> v0.1.13\n Adding libdbus-sys v0.2.5\n Updating linux-raw-sys v0.4.13 -> v0.4.14 (latest: v0.6.4)\n Adding markup5ever v0.12.1\n Updating mdbook v0.4.37 -> v0.4.40\n Updating miniz_oxide v0.7.2 -> v0.7.3\n Adding opener v0.7.1\n Updating rustversion v1.0.16 -> v1.0.17\n Updating serde v1.0.201 -> v1.0.202\n Updating serde_derive v1.0.201 -> v1.0.202\n Updating serde_spanned v0.6.5 -> v0.6.6\n Removing strsim v0.10.0\n Updating syn v2.0.62 -> v2.0.64\n Updating thiserror v1.0.60 -> v1.0.61\n Updating thiserror-impl v1.0.60 -> v1.0.61\n Updating toml_datetime v0.6.5 -> v0.6.6\nnote: pass `--verbose` to see 96 unchanged dependencies behind latest","shortMessageHtmlLink":"cargo update"}},{"before":"eb1a5c9bb3df2ce5f003d45f835da0d61d8742cd","after":"b1ec1bd65f89c1375d2cf2fb733a87ef390276d3","ref":"refs/heads/master","pushedAt":"2024-05-18T23:51:21.000Z","pushType":"push","commitsCount":7,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125257 - jieyouxu:rollup-11evnm9, r=jieyouxu\n\nRollup of 3 pull requests\n\nSuccessful merges:\n\n - #125214 (Only make GAT ambiguous in `match_projection_projections` considering shallow resolvability)\n - #125236 (Add tests for `-Zunpretty=expanded` ported from stringify's tests)\n - #125251 (Clarify how String::leak and into_boxed_str differ )\n\nr? `@ghost`\n`@rustbot` modify labels: rollup","shortMessageHtmlLink":"Auto merge of #125257 - jieyouxu:rollup-11evnm9, r=jieyouxu"}},{"before":"c00957a3e269219413041a4e3565f33b1f9d0779","after":"eb1a5c9bb3df2ce5f003d45f835da0d61d8742cd","ref":"refs/heads/master","pushedAt":"2024-05-18T21:44:01.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125077 - spastorino:add-new-fnsafety-enum2, r=jackh726\n\nRename Unsafe to Safety\n\nAlternative to #124455, which is to just have one Safety enum to use everywhere, this opens the posibility of adding `ast::Safety::Safe` that's useful for unsafe extern blocks.\n\nThis leaves us today with:\n\n```rust\nenum ast::Safety {\n Unsafe(Span),\n Default,\n // Safe (going to be added for unsafe extern blocks)\n}\n\nenum hir::Safety {\n Unsafe,\n Safe,\n}\n```\n\nWe would convert from `ast::Safety::Default` into the right Safety level according the context.","shortMessageHtmlLink":"Auto merge of #125077 - spastorino:add-new-fnsafety-enum2, r=jackh726"}},{"before":"cf2baaa8350c9cac9a5bc139926bcb246303b9f8","after":"c00957a3e269219413041a4e3565f33b1f9d0779","ref":"refs/heads/master","pushedAt":"2024-05-18T19:25:38.000Z","pushType":"push","commitsCount":12,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125254 - matthiaskrgr:rollup-ukvsxbc, r=matthiaskrgr\n\nRollup of 4 pull requests\n\nSuccessful merges:\n\n - #125117 (Improve parser)\n - #125184 (Fix ICE in non-operand `aggregate_raw_ptr` intrinsic codegen)\n - #125240 (Temporarily revert to NonZeroUsize in rustc-abi to fix building on stable)\n - #125248 (Migrate `run-make/rustdoc-scrape-examples-invalid-expr` to `rmake.rs`)\n\nr? `@ghost`\n`@rustbot` modify labels: rollup","shortMessageHtmlLink":"Auto merge of #125254 - matthiaskrgr:rollup-ukvsxbc, r=matthiaskrgr"}},{"before":"685a80f7a0935c8e5016d8c9cd491937af155dd0","after":"cf2baaa8350c9cac9a5bc139926bcb246303b9f8","ref":"refs/heads/master","pushedAt":"2024-05-18T17:19:42.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125244 - RalfJung:android-alloc, r=workingjubilee\n\nandroid: use posix_memalign for aligned allocations\n\nOur target page says\n> Rust will support the most recent Long Term Support (LTS) Android Native Development Kit (NDK). By default Rust will support all API levels supported by the NDK, but a higher minimum API level may be required if deemed necessary.\n\nAccording to [this](https://github.com/android/ndk/wiki/Changelog-r26), the minimum API level of the current LTS NDK is 21. According to [this](https://stackoverflow.com/questions/44852378/android-ndk-r15b-posix-memalign-undeclared-identifier), posix_memalign exists since API level 16. So I think we should be able to use it here?","shortMessageHtmlLink":"Auto merge of #125244 - RalfJung:android-alloc, r=workingjubilee"}},{"before":"bb97203e37bbdd4588bd684728002077d0073978","after":"685a80f7a0935c8e5016d8c9cd491937af155dd0","ref":"refs/heads/master","pushedAt":"2024-05-18T15:12:27.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125180 - mu001999-contrib:improve/macro-diag, r=fee1-dead\n\nImprove error message: missing `;` in macro_rules\n\nFixes #124968","shortMessageHtmlLink":"Auto merge of #125180 - mu001999-contrib:improve/macro-diag, r=fee1-dead"}},{"before":"1c90b9fe6eac122b4d3965913b3615f47751a4d3","after":"bb97203e37bbdd4588bd684728002077d0073978","ref":"refs/heads/master","pushedAt":"2024-05-18T13:01:43.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #124611 - Urgau:rustdoc-stdin, r=GuillaumeGomez\n\nAdd `-` (stdin) support in rustdoc\n\nThis PR adds support for the special `-` input which threats the input as coming from *stdin* instead of being a filepath.\n\nDoing this also makes `rustdoc` consistent with `rustc` and ~~every~~ other tools. Full [motivation](https://github.com/rust-lang/rust/pull/124611#issuecomment-2094234876).\n\nFixes https://github.com/rust-lang/rust/issues/123671\nr? `@fmease`","shortMessageHtmlLink":"Auto merge of #124611 - Urgau:rustdoc-stdin, r=GuillaumeGomez"}},{"before":"36c0a6d40fb6aae9c450305085d64e2ba55c6c58","after":"1c90b9fe6eac122b4d3965913b3615f47751a4d3","ref":"refs/heads/master","pushedAt":"2024-05-18T10:52:39.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125004 - pymongo:issue-125002, r=estebank\n\nFix println! ICE when parsing percent prefix number\n\nThis PR fixes #125002 ICE occurring, for example, with `println!(\"%100000\", 1)` or `println!(\"% 100000\", 1)`.\n\n## Test Case/Change Explanation\n\nThe return type of `Num::from_str` has been changed to `Option` to handle errors when parsing large integers fails.\n\n1. The first `println!` in the test case covers the change of the first `Num::from_str` usage in `format_foreign.rs:426`.\n2. The second `println!` in the test case covers the change of the second `Num::from_str` usage in line 460.\n3. The 3rd to 5th `Num::from_str` usages behave the same as before.\n\nThe 3rd usage would cause an ICE when `num > u16::MAX` in the previous version, but this commit does not include a fix for the ICE in `println!(\"{:100000$}\")`. I think we need to emit an error in the compiler and have more discussion in another issue/PR.","shortMessageHtmlLink":"Auto merge of #125004 - pymongo:issue-125002, r=estebank"}},{"before":"7b06810691abbd99f6104abb87b9eb55e05b1bec","after":"36c0a6d40fb6aae9c450305085d64e2ba55c6c58","ref":"refs/heads/master","pushedAt":"2024-05-18T08:42:53.000Z","pushType":"push","commitsCount":5,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125105 - nnethercote:rustc_resolve-cleanups, r=estebank\n\n`rustc_resolve` cleanups\n\nSome improvements I found while looking through this code.\n\nr? `@estebank`","shortMessageHtmlLink":"Auto merge of #125105 - nnethercote:rustc_resolve-cleanups, r=estebank"}},{"before":"94be5ab448f9bd0209e3ec20fc355643772da7d0","after":"7b06810691abbd99f6104abb87b9eb55e05b1bec","ref":"refs/heads/master","pushedAt":"2024-05-18T06:30:53.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125237 - weihanglo:update-cargo, r=weihanglo\n\nUpdate cargo\n\n6 commits in 4de0094ac78743d2c8ff682489e35c8a7cafe8e4..0de7f2ec6c39d68022e6b97a39559d2f4dbf3930\n2024-05-09 16:09:22 +0000 to 2024-05-17 16:54:54 +0000\n- Add special `check-cfg` lint config for the `unexpected_cfgs` lint (rust-lang/cargo#13913)\n- refactor: more comments and variable rename (rust-lang/cargo#13924)\n- test: set safe.directory for git repo in apache container (rust-lang/cargo#13920)\n- refactor: misc refactors for `ops::resolve` (rust-lang/cargo#13917)\n- Preserve file permissions on unix during `write_atomic` (rust-lang/cargo#13898)\n- Update benchmark formatting for new nightly (rust-lang/cargo#13901)\n\nr? ghost","shortMessageHtmlLink":"Auto merge of #125237 - weihanglo:update-cargo, r=weihanglo"}},{"before":"8e78d168040b2d7106a28712c39106602c7a1d61","after":"94be5ab448f9bd0209e3ec20fc355643772da7d0","ref":"refs/heads/master","pushedAt":"2024-05-18T04:19:03.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125232 - coolreader18:inline-duration-new, r=jhpratt\n\nInline Duration construction into `Duration::from_{secs,millis,micros,nanos}`\n\nThe millis/micros/nanos cases I don't feel as strongly about, but I see no reason why `Duration::from_secs` should call into `Duration::new` - that's just creating unnecessary work for the inlining and DCE passes.","shortMessageHtmlLink":"Auto merge of #125232 - coolreader18:inline-duration-new, r=jhpratt"}},{"before":"9b75a4388143a163b77fa7d458e4aa4dd34ac1bd","after":"8e78d168040b2d7106a28712c39106602c7a1d61","ref":"refs/heads/master","pushedAt":"2024-05-18T02:12:22.000Z","pushType":"push","commitsCount":8,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125233 - jieyouxu:rollup-76hk8qu, r=jieyouxu\n\nRollup of 3 pull requests\n\nSuccessful merges:\n\n - #125213 (Migrate `run-make/static-unwinding` to `rmake`)\n - #125215 (Migrate `run-make/issue64319` to `rmake` and rename)\n - #125221 (Migrate `run-make/issue-28766` to `rmake`)\n\nr? `@ghost`\n`@rustbot` modify labels: rollup","shortMessageHtmlLink":"Auto merge of #125233 - jieyouxu:rollup-76hk8qu, r=jieyouxu"}},{"before":"1a7397988684934ae01a71f524bdfff24895d8cc","after":"9b75a4388143a163b77fa7d458e4aa4dd34ac1bd","ref":"refs/heads/master","pushedAt":"2024-05-18T00:02:55.000Z","pushType":"push","commitsCount":7,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #123865 - eholk:expr_2021, r=fmease\n\nUpdate `expr` matcher for Edition 2024 and add `expr_2021` nonterminal\n\nThis commit adds a new nonterminal `expr_2021` in macro patterns, and `expr_fragment_specifier_2024` feature flag.\n\nThis change also updates `expr` so that on Edition 2024 it will also match `const { ... }` blocks, while `expr_2021` preserves the current behavior of `expr`, matching expressions without `const` blocks.\n\nJoint work with `@vincenzopalazzo.`\n\nIssue #123742","shortMessageHtmlLink":"Auto merge of #123865 - eholk:expr_2021, r=fmease"}},{"before":"c7716d543191e52ed817b725f2fab54bbd5d2707","after":"1a7397988684934ae01a71f524bdfff24895d8cc","ref":"refs/heads/master","pushedAt":"2024-05-17T20:29:59.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125153 - compiler-errors:opt-poly, r=lcnr\n\n`to_opt_poly_X_pred` -> `as_X_clause`\n\nr? lcnr","shortMessageHtmlLink":"Auto merge of #125153 - compiler-errors:opt-poly, r=lcnr"}},{"before":"550d1b4fb6de23990f4108815c3b1a9d1659e5c4","after":"c7716d543191e52ed817b725f2fab54bbd5d2707","ref":"refs/heads/master","pushedAt":"2024-05-17T18:22:41.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125216 - BoxyUwU:boxy_compiler_rereviews, r=joboet\n\nadd boxy to compiler reviews","shortMessageHtmlLink":"Auto merge of #125216 - BoxyUwU:boxy_compiler_rereviews, r=joboet"}},{"before":"ddba1dc97e83f22165b36dd6158477c49bbbd019","after":"550d1b4fb6de23990f4108815c3b1a9d1659e5c4","ref":"refs/heads/master","pushedAt":"2024-05-17T16:13:36.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125207 - GuillaumeGomez:migrate-rustdoc-scrape-examples-ordering, r=jieyouxu\n\nMigrate `run-make/rustdoc-scrape-examples-remap` to `rmake.rs`\n\nPart of https://github.com/rust-lang/rust/issues/121876.\n\nr? `@jieyouxu`","shortMessageHtmlLink":"Auto merge of #125207 - GuillaumeGomez:migrate-rustdoc-scrape-example…"}},{"before":"a5c37eea5aa922f4d6b543f2d35bdbd892fea2a8","after":"ddba1dc97e83f22165b36dd6158477c49bbbd019","ref":"refs/heads/master","pushedAt":"2024-05-17T13:59:52.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125188 - tgross35:f16-f128-powi, r=Nilstrieb\n\nAdd `powi` fo `f16` and `f128`\n\nThis will unblock adding support to compiler_builtins (), which will then unblock adding tests for these new functions.","shortMessageHtmlLink":"Auto merge of #125188 - tgross35:f16-f128-powi, r=Nilstrieb"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAETnQSOQA","startCursor":null,"endCursor":null}},"title":"Activity · rust-lang/rust"}