{"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:1725552389.0","currentOid":""},"activityList":{"items":[{"before":"749f80ab051aa0b3724b464130440b0e70a975ac","after":"506f22b4663f3e756e1e6a4f66c6309fdc00819c","ref":"refs/heads/master","pushedAt":"2024-09-19T21:05:02.000Z","pushType":"push","commitsCount":30,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #130572 - matthiaskrgr:rollup-0q3qyg9, r=matthiaskrgr\n\nRollup of 5 pull requests\n\nSuccessful merges:\n\n - #128001 (Improve documentation for ::from_str_radix)\n - #130553 ([Clippy] Get rid of most `std` `match_def_path` usage, swap to diagnostic items.)\n - #130554 (`pal::unsupported::process::ExitCode`: use an `u8` instead of a `bool`)\n - #130556 (Mark the `link_cfg` feature as internal)\n - #130558 (Support 128-bit atomics on s390x)\n\nr? `@ghost`\n`@rustbot` modify labels: rollup","shortMessageHtmlLink":"Auto merge of #130572 - matthiaskrgr:rollup-0q3qyg9, r=matthiaskrgr"}},{"before":"13a50977964460d8fb5bdf10740de3ac93e6021b","after":"749f80ab051aa0b3724b464130440b0e70a975ac","ref":"refs/heads/master","pushedAt":"2024-09-19T18:34:36.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 #130069 - GuillaumeGomez:gen-scraped-buttons, r=notriddle\n\nGenerate scraped examples buttons in JS\n\nFollow-up of https://github.com/rust-lang/rust/pull/129796.\n\nTo reduce the page size when there are scraped examples, we can generate their buttons in JS since they require JS to work in any case. There should be no changes in display or in functionality.\n\nYou can test it [here](https://rustdoc.crud.net/imperio/gen-scraped-buttons/doc/scrape_examples/fn.test.html).\n\ncc `@willcrichton`\nr? `@notriddle`","shortMessageHtmlLink":"Auto merge of #130069 - GuillaumeGomez:gen-scraped-buttons, r=notriddle"}},{"before":"b0af276da341bcd3fbfe71871aeacc8650f344ed","after":"13a50977964460d8fb5bdf10740de3ac93e6021b","ref":"refs/heads/master","pushedAt":"2024-09-19T15:52:23.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 #130529 - onur-ozkan:better-ci-llvm-default, r=Kobzol\n\nchange `download-ci-llvm` default from `if-unchanged` to `true`\n\nSince https://github.com/rust-lang/rust/pull/129473 and https://github.com/rust-lang/rust/pull/130202, using `download-ci-llvm=true` is now the better default and it also fixes #130515.","shortMessageHtmlLink":"Auto merge of #130529 - onur-ozkan:better-ci-llvm-default, r=Kobzol"}},{"before":"b7b9453ea7354ee39b15390ffd0b4f9e2000076b","after":"b0af276da341bcd3fbfe71871aeacc8650f344ed","ref":"refs/heads/master","pushedAt":"2024-09-19T11:53: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 #130406 - arttet:master, r=onur-ozkan\n\nBump cc dependency\n\n* The [issue](https://github.com/rust-lang/rust/issues/130231) was fixed in the [PR](https://github.com/rust-lang/cc-rs/pull/1207)\n* The build artifacts of arm64e-apple-darwin can be found [here](https://github.com/arttet/rust-compiler-builder/actions/runs/10902308425)","shortMessageHtmlLink":"Auto merge of #130406 - arttet:master, r=onur-ozkan"}},{"before":"f8192ba0d00bbbc58a10c45823ba010e98ea4474","after":"b7b9453ea7354ee39b15390ffd0b4f9e2000076b","ref":"refs/heads/master","pushedAt":"2024-09-19T09:19:01.000Z","pushType":"push","commitsCount":9,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #130547 - workingjubilee:rollup-tw30khz, r=workingjubilee\n\nRollup of 3 pull requests\n\nSuccessful merges:\n\n - #130531 (Check params for unsafety in THIR)\n - #130533 (Never patterns constitute a read for unsafety)\n - #130542 (Stabilize const `MaybeUninit::as_mut_ptr`)\n\nr? `@ghost`\n`@rustbot` modify labels: rollup","shortMessageHtmlLink":"Auto merge of #130547 - workingjubilee:rollup-tw30khz, r=workingjubilee"}},{"before":"df7f77811c8806f85522a38878c57fde221138c9","after":"f8192ba0d00bbbc58a10c45823ba010e98ea4474","ref":"refs/heads/master","pushedAt":"2024-09-19T06:57:50.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 #130511 - bjoernager:const-char-encode-utf8, r=dtolnay\n\nSupport `char::encode_utf8` in const scenarios.\n\nThis PR implements [`rust-lang/rfcs#3696`](https://github.com/rust-lang/rfcs/pull/3696/).\n\nThis assumes [`const_slice_from_raw_parts_mut`](https://github.com/rust-lang/rust/issues/67456/).","shortMessageHtmlLink":"Auto merge of #130511 - bjoernager:const-char-encode-utf8, r=dtolnay"}},{"before":"a5cf8bbd4e1c8edeae08778c85c6f806dd00e853","after":"df7f77811c8806f85522a38878c57fde221138c9","ref":"refs/heads/master","pushedAt":"2024-09-19T03:28:26.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 #123877 - ShE3py:expr-in-pats-2, r=fmease\n\nFurther improve diagnostics for expressions in pattern position\n\nFollow-up of #118625, see #121697.\n\n```rs\nfn main() {\n match 'b' {\n y.0.0.1.z().f()? as u32 => {},\n }\n}\n```\nBefore:\n```\nerror: expected one of `=>`, ``@`,` `if`, or `|`, found `.`\n --> src/main.rs:3:10\n |\n3 | y.0.0.1.z().f()? as u32 => {},\n | ^ expected one of `=>`, ``@`,` `if`, or `|`\n```\nAfter:\n```\nerror: expected a pattern, found an expression\n --> src/main.rs:3:9\n |\n3 | y.0.0.1.z().f()? as u32 => {},\n | ^^^^^^^^^^^^^^^^^^^^^^^ arbitrary expressions are not allowed in patterns\n |\nhelp: consider moving the expression to a match arm guard\n |\n3 | val if val == y.0.0.1.z().f()? as u32 => {},\n | ~~~ +++++++++++++++++++++++++++++++++\nhelp: consider extracting the expression into a `const`\n |\n2 + const VAL: /* Type */ = y.0.0.1.z().f()? as u32;\n3 ~ match 'b' {\n4 ~ VAL => {},\n |\nhelp: consider wrapping the expression in an inline `const` (requires `#![feature(inline_const_pat)]`)\n |\n3 | const { y.0.0.1.z().f()? as u32 } => {},\n | +++++++ +\n```\n\n---\n\nr? fmease\n`@rustbot` label +A-diagnostics +A-parser +A-patterns +C-enhancement","shortMessageHtmlLink":"Auto merge of #123877 - ShE3py:expr-in-pats-2, r=fmease"}},{"before":"f79a912d9edc3ad4db910c0e93672ed5c65133fa","after":"a5cf8bbd4e1c8edeae08778c85c6f806dd00e853","ref":"refs/heads/master","pushedAt":"2024-09-19T00:30:17.000Z","pushType":"push","commitsCount":26,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #130534 - workingjubilee:rollup-furaug4, r=workingjubilee\n\nRollup of 9 pull requests\n\nSuccessful merges:\n\n - #97524 (Add `Thread::{into_raw, from_raw}`)\n - #127988 (Do not ICE with incorrect empty suggestion)\n - #129422 (Gate `repr(Rust)` correctly on non-ADT items)\n - #129934 (Win: Open dir for sync access in remove_dir_all)\n - #130450 (Reduce confusion about `make_indirect_byval` by renaming it)\n - #130476 (Implement ACP 429: add `Lazy{Cell,Lock}::get[_mut]` and `force_mut`)\n - #130487 (Update the minimum external LLVM to 18)\n - #130513 (Clarify docs for std::fs::File::write)\n - #130522 ([Clippy] Swap `manual_retain` to use diagnostic items instead of paths)\n\nr? `@ghost`\n`@rustbot` modify labels: rollup","shortMessageHtmlLink":"Auto merge of #130534 - workingjubilee:rollup-furaug4, r=workingjubilee"}},{"before":"7fc70f870a1d11c3b104274d3a18112996cdec9a","after":"f79a912d9edc3ad4db910c0e93672ed5c65133fa","ref":"refs/heads/master","pushedAt":"2024-09-18T20:41:02.000Z","pushType":"push","commitsCount":21,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #130519 - matthiaskrgr:rollup-l1hok4x, r=matthiaskrgr\n\nRollup of 5 pull requests\n\nSuccessful merges:\n\n - #130457 (Cleanup codegen traits)\n - #130471 (Add zlib to musl dist image so rust-lld will support zlib compression for debug info there.)\n - #130507 (Improve handling of raw-idents in check-cfg)\n - #130509 (llvm-wrapper: adapt for LLVM API changes, second try)\n - #130510 (doc: the source of `LetStmt` can also be `AssignDesugar`)\n\nr? `@ghost`\n`@rustbot` modify labels: rollup","shortMessageHtmlLink":"Auto merge of #130519 - matthiaskrgr:rollup-l1hok4x, r=matthiaskrgr"}},{"before":"aaed38b2a631dfc593454abf471d75d84033773e","after":"7fc70f870a1d11c3b104274d3a18112996cdec9a","ref":"refs/heads/master","pushedAt":"2024-09-18T17:50:21.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 #130497 - saethlin:alloc-zeroed-is-unstable, r=bjorn3\n\nread_volatile __rust_no_alloc_shim_is_unstable in alloc_zeroed\n\nIt was pointed out in https://github.com/rust-lang/rust/issues/128854#issuecomment-2278919897 that the magic volatile read was probably missing from `alloc_zeroed`. I can't find any mention of `alloc_zeroed` on https://github.com/rust-lang/rust/pull/86844, so it looks like this was just missed initially.","shortMessageHtmlLink":"Auto merge of #130497 - saethlin:alloc-zeroed-is-unstable, r=bjorn3"}},{"before":"82d17a4db3a010caa947d49245de63a7ac14accf","after":"aaed38b2a631dfc593454abf471d75d84033773e","ref":"refs/heads/master","pushedAt":"2024-09-18T14:23:58.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 #129491 - StackOverflowExcept1on:master, r=m-ou-se\n\nPass `fmt::Arguments` by reference to `PanicInfo` and `PanicMessage`\n\nResolves #129330\n\nFor some reason after #115974 and #126732 optimizations applied to panic handler became worse and compiler stopped removing panic locations if they are not used in the panic message. This PR fixes that and maybe we can merge it into beta before rust 1.81 is released.\n\nNote: optimization only works with `lto = \"fat\"`.\n\nr? libs-api","shortMessageHtmlLink":"Auto merge of #129491 - StackOverflowExcept1on:master, r=m-ou-se"}},{"before":"f68c28b6cefb9e1f9c258f20a3b1b7b7cddbc84f","after":"82d17a4db3a010caa947d49245de63a7ac14accf","ref":"refs/heads/master","pushedAt":"2024-09-18T11:56: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 #130500 - matthiaskrgr:rollup-lfx3bb4, r=matthiaskrgr\n\nRollup of 3 pull requests\n\nSuccessful merges:\n\n - #130466 (tests: add repr/transparent test for aarch64)\n - #130468 (Make sure that def id <=> lang item map is bidirectional)\n - #130499 (Add myself to the libs review rotation)\n\nr? `@ghost`\n`@rustbot` modify labels: rollup","shortMessageHtmlLink":"Auto merge of #130500 - matthiaskrgr:rollup-lfx3bb4, r=matthiaskrgr"}},{"before":"f6bcd094abe174a218f7cf406e75521be4199f88","after":"f68c28b6cefb9e1f9c258f20a3b1b7b7cddbc84f","ref":"refs/heads/master","pushedAt":"2024-09-18T09:23:55.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 #129845 - scottmcm:redo-layout, r=Noratrieb\n\nTake more advantage of the `isize::MAX` limit in `Layout`\n\nThings like `padding_needed_for` are current implemented being super careful to handle things like `Layout::size` potentially being `usize::MAX`.\n\nBut now that #95295 has happened, that's no longer a concern. It's possible to add two `Layout::size`s together without risking overflow now.\n\nSo take advantage of that to remove a bunch of checked math that's not actually needed. For example, the round-up-and-add-next-size in `extend` doesn't need any overflow checks at all, just the final check for compatibility with the alignment.\n\n(And while I was doing that I made it all unstably const, because there's nothing in `Layout` that's fundamentally runtime-only.)","shortMessageHtmlLink":"Auto merge of #129845 - scottmcm:redo-layout, r=Noratrieb"}},{"before":"60c3673456cb5eba4d6ac4ed22be179deebb6dcf","after":"f6bcd094abe174a218f7cf406e75521be4199f88","ref":"refs/heads/master","pushedAt":"2024-09-18T07:04:06.000Z","pushType":"push","commitsCount":9,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #130498 - matthiaskrgr:rollup-tg4d0zi, r=matthiaskrgr\n\nRollup of 4 pull requests\n\nSuccessful merges:\n\n - #130116 (Implement a Method to Seal `DiagInner`'s Suggestions)\n - #130489 (Ensure that `keyword_ident` lint doesn't trigger on `'r#kw` lifetime)\n - #130491 (more crash tests)\n - #130496 (Fix circular fn_sig queries to correct number of args for methods)\n\nr? `@ghost`\n`@rustbot` modify labels: rollup","shortMessageHtmlLink":"Auto merge of #130498 - matthiaskrgr:rollup-tg4d0zi, r=matthiaskrgr"}},{"before":"f7b4c72c8ffb320616bda27f70bb8e0a341673fb","after":"60c3673456cb5eba4d6ac4ed22be179deebb6dcf","ref":"refs/heads/master","pushedAt":"2024-09-18T04:00:45.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 #130454 - durin42:llvm-20-notrunc, r=workingjubilee\n\ntests: allow trunc/select instructions to be missing\n\nOn LLVM 20, these instructions already get eliminated, which at least partially satisfies a TODO. I'm not talented enough at using FileCheck to try and constrain this further, but if we really want to we could copy an LLVM 20 specific version of this test that would restore it to being CHECK-NEXT: insertvalue ...\n\n`@rustbot` label: +llvm-main\nr? `@DianQK`","shortMessageHtmlLink":"Auto merge of #130454 - durin42:llvm-20-notrunc, r=workingjubilee"}},{"before":"28e8f01c2a2f33fb4214925a704e3223b372cad5","after":"f7b4c72c8ffb320616bda27f70bb8e0a341673fb","ref":"refs/heads/master","pushedAt":"2024-09-18T01:26:20.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 #130492 - matthiaskrgr:rollup-9pxkd8i, r=matthiaskrgr\n\nRollup of 2 pull requests\n\nSuccessful merges:\n\n - #130481 (Remove uneeded PartialOrd bound in cmp::Ord::clamp)\n - #130482 (Remove redundant test typeid equality by subtyping)\n\nr? `@ghost`\n`@rustbot` modify labels: rollup","shortMessageHtmlLink":"Auto merge of #130492 - matthiaskrgr:rollup-9pxkd8i, r=matthiaskrgr"}},{"before":"f609b7e0586f81fefb3523e3e17adf779ac416be","after":"28e8f01c2a2f33fb4214925a704e3223b372cad5","ref":"refs/heads/master","pushedAt":"2024-09-17T22:08:49.000Z","pushType":"push","commitsCount":80,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #130483 - matthiaskrgr:rollup-q1r0g0y, r=matthiaskrgr\n\nRollup of 5 pull requests\n\nSuccessful merges:\n\n - #129477 (Fix fluent diagnostics)\n - #129674 (Add new_cyclic_in for Rc and Arc)\n - #130452 (Update Trusty target maintainers)\n - #130467 (Miri subtree update)\n - #130477 (Revert #129749 to fix segfault in LLVM)\n\nr? `@ghost`\n`@rustbot` modify labels: rollup","shortMessageHtmlLink":"Auto merge of #130483 - matthiaskrgr:rollup-q1r0g0y, r=matthiaskrgr"}},{"before":"e9e13a68d7271baac458addc056ffff6ddbbe57c","after":"f609b7e0586f81fefb3523e3e17adf779ac416be","ref":"refs/heads/master","pushedAt":"2024-09-17T19:35:56.000Z","pushType":"push","commitsCount":30,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #130473 - matthiaskrgr:rollup-lf29374, r=matthiaskrgr\n\nRollup of 9 pull requests\n\nSuccessful merges:\n\n - #128535 (Format `std::env::consts` docstrings with markdown backticks)\n - #128961 (Fix #128930: Print documentation of CLI options missing their arg)\n - #129988 (Use `Vec` in `rustc_interface::Config::locale_resources`)\n - #130201 (Encode `coroutine_by_move_body_def_id` in crate metadata)\n - #130275 (Don't call `extern_crate` when local crate name is the same as a dependency and we have a trait error)\n - #130314 (Use the same precedence for all macro-like exprs)\n - #130440 (Don't ICE in `opaque_hidden_inferred_bound` lint for RPITIT in trait with no default method body)\n - #130458 (`rustc_codegen_ssa` cleanups)\n - #130469 (Mark `where_clauses_object_safety` as removed)\n\nr? `@ghost`\n`@rustbot` modify labels: rollup","shortMessageHtmlLink":"Auto merge of #130473 - matthiaskrgr:rollup-lf29374, r=matthiaskrgr"}},{"before":"46b0f8bafcf11fa1d6b6c172f4f5c1b95c11ebdb","after":"e9e13a68d7271baac458addc056ffff6ddbbe57c","ref":"refs/heads/master","pushedAt":"2024-09-17T15:07:44.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 #129073 - compiler-errors:receiver-variance, r=lcnr\n\nRelate receiver invariantly in method probe for `Mode::Path`\n\nEffectively reverts part of #126128\nFixes #126227\n\nThis PR changes method probing to use equality for fully path-based method lookup, and subtyping for receiver `.` method lookup.\n\nr? lcnr","shortMessageHtmlLink":"Auto merge of #129073 - compiler-errors:receiver-variance, r=lcnr"}},{"before":"2e367d94f05f3c6170f4d49f5e387cfaa0c42c32","after":"46b0f8bafcf11fa1d6b6c172f4f5c1b95c11ebdb","ref":"refs/heads/master","pushedAt":"2024-09-17T12:43:37.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 #130455 - compiler-errors:inline-ordering, r=saethlin\n\nRemove semi-nondeterminism of `DefPathHash` ordering from inliner\n\nDéjà vu or something because I kinda thought I had put this PR up before. I recall a discussion somewhere where I think it was `@saethlin` mentioning that this check was no longer needed since we have \"proper\" cycle detection. Putting that up as a PR now.\n\nThis may slighlty negatively affect inlining, since the cycle breaking here means that we still inlined some cycles when the def path hashes were ordered in certain ways, this leads to really bad nondeterminism that makes minimizing ICEs and putting up inliner bugfixes difficult.\n\nr? `@cjgillot` or `@saethlin` or someone else idk","shortMessageHtmlLink":"Auto merge of #130455 - compiler-errors:inline-ordering, r=saethlin"}},{"before":"c8dff289a0c931e138350f3baef0fab6d3309f80","after":"2e367d94f05f3c6170f4d49f5e387cfaa0c42c32","ref":"refs/heads/master","pushedAt":"2024-09-17T09:10:33.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 #130145 - fee1-dead-contrib:repeatn, r=lcnr,workingjubilee\n\n`RepeatN`: use MaybeUninit\n\nCloses #130140. Closes #130141.\n\nUse `MaybeUninit` instead of `ManuallyDrop` for soundness.","shortMessageHtmlLink":"Auto merge of #130145 - fee1-dead-contrib:repeatn, r=lcnr,workingjubilee"}},{"before":"e2dc1a1c0f97a90319181a721ab317210307617a","after":"c8dff289a0c931e138350f3baef0fab6d3309f80","ref":"refs/heads/master","pushedAt":"2024-09-17T06:28:59.000Z","pushType":"push","commitsCount":16,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #130456 - matthiaskrgr:rollup-h2qvk1f, r=matthiaskrgr\n\nRollup of 4 pull requests\n\nSuccessful merges:\n\n - #130380 (coverage: Clarify some parts of coverage counter creation)\n - #130427 (run_make_support: rectify symlink handling)\n - #130447 (rustc_llvm: update for llvm/llvm-project@2ae968a0d9fb61606b020e898d88…)\n - #130448 (fix: Remove duplicate `LazyLock` example.)\n\nr? `@ghost`\n`@rustbot` modify labels: rollup","shortMessageHtmlLink":"Auto merge of #130456 - matthiaskrgr:rollup-h2qvk1f, r=matthiaskrgr"}},{"before":"bde6bf2b07b61f7da92c211d2b4a897ea4620e1b","after":"e2dc1a1c0f97a90319181a721ab317210307617a","ref":"refs/heads/master","pushedAt":"2024-09-17T03:39:23.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 #129970 - lukas-code:LayoutCalculator, r=compiler-errors\n\nlayout computation: gracefully handle unsized types in unexpected locations\n\nThis PR reworks the layout computation to eagerly return an error when encountering an unsized field where a sized field was expected, rather than delaying a bug and attempting to recover a layout. This is required, because with trivially false where clauses like `[T]: Sized`, any field can possible be an unsized type, without causing a compile error.\n\nSince this PR removes the `delayed_bug` method from the `LayoutCalculator` trait, it essentially becomes the same as the `HasDataLayout` trait, so I've also refactored the `LayoutCalculator` to be a simple wrapper struct around a type that implements `HasDataLayout`.\n\nThe majority of the diff is whitespace changes, so viewing with whitespace ignored is advised.\n\nimplements https://github.com/rust-lang/rust/pull/123169#issuecomment-2025788480\n\nr? `@compiler-errors` or compiler\n\nfixes https://github.com/rust-lang/rust/issues/123134\nfixes https://github.com/rust-lang/rust/issues/124182\nfixes https://github.com/rust-lang/rust/issues/126939\nfixes https://github.com/rust-lang/rust/issues/127737","shortMessageHtmlLink":"Auto merge of #129970 - lukas-code:LayoutCalculator, r=compiler-errors"}},{"before":"c52c23b6f44cd19718721a5e3b2eeb169e9c96ff","after":"bde6bf2b07b61f7da92c211d2b4a897ea4620e1b","ref":"refs/heads/master","pushedAt":"2024-09-17T01:16:42.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 #127633 - SamuelMarks:eq-exit-code, r=dtolnay\n\n[library/std/src/process.rs] `PartialEq` for `ExitCode`\n\nConverting a third-party CLI to a library so started passing around [`std::process::ExitCode`](https://doc.rust-lang.org/std/process/struct.ExitCode.html) in an `Either`. Then I realised the tests can't be modified to compare equality of `ExitCode`s.\n\nThis PR fixes this oversight.","shortMessageHtmlLink":"Auto merge of #127633 - SamuelMarks:eq-exit-code, r=dtolnay"}},{"before":"fd2c811d25ad5773fbd2463e058bf4edf4d44eb2","after":"c52c23b6f44cd19718721a5e3b2eeb169e9c96ff","ref":"refs/heads/master","pushedAt":"2024-09-16T22:54:23.000Z","pushType":"push","commitsCount":9,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #130444 - matthiaskrgr:rollup-onlrjva, r=matthiaskrgr\n\nRollup of 3 pull requests\n\nSuccessful merges:\n\n - #130033 (Don't call `fn_arg_names` query for non-`fn` foreign items in resolver)\n - #130282 (Do not report an excessive number of overflow errors for an ever-growing deref impl)\n - #130437 (Avoid crashing on variadic functions when producing arg-mismatch errors)\n\nr? `@ghost`\n`@rustbot` modify labels: rollup","shortMessageHtmlLink":"Auto merge of #130444 - matthiaskrgr:rollup-onlrjva, r=matthiaskrgr"}},{"before":"3a22be33db27e4f90e95dfaad301af400386efc1","after":"fd2c811d25ad5773fbd2463e058bf4edf4d44eb2","ref":"refs/heads/master","pushedAt":"2024-09-16T20:00:47.000Z","pushType":"push","commitsCount":9,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #130439 - matthiaskrgr:rollup-1lkzo74, r=matthiaskrgr\n\nRollup of 4 pull requests\n\nSuccessful merges:\n\n - #123436 (linker: Allow MSVC to use import libraries following the Meson/MinGW convention)\n - #130410 (Don't ICE when generating `Fn` shim for async closure with borrowck error)\n - #130412 (Don't ICE when RPITIT captures more method args than trait definition)\n - #130436 (Ignore reduce-fadd-unordered on SGX platform)\n\nr? `@ghost`\n`@rustbot` modify labels: rollup","shortMessageHtmlLink":"Auto merge of #130439 - matthiaskrgr:rollup-1lkzo74, r=matthiaskrgr"}},{"before":"13b5a4e43b92cf738acad403ea56900947f9d37b","after":"3a22be33db27e4f90e95dfaad301af400386efc1","ref":"refs/heads/master","pushedAt":"2024-09-16T17:40:11.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 #130414 - compiler-errors:precise-capturing-arg-valid, r=jieyouxu\n\nDo precise capturing arg validation in resolve\n\nMoves the validation of precise capturing args (`use`) out of `resolve_bound_vars` and into `rustc_resolve`. This both simplifies the impl and fixes a bug when we have `use` where `arg` is one of the function args.\n\nThis also introduces new error codes specifically for precise capturing, to avoid reusing the other error codes which are not as accurate.\n\nFixes #130399","shortMessageHtmlLink":"Auto merge of #130414 - compiler-errors:precise-capturing-arg-valid, …"}},{"before":"170d6cb845c8c3f0dcec5cdd4210df9ecf990244","after":"13b5a4e43b92cf738acad403ea56900947f9d37b","ref":"refs/heads/master","pushedAt":"2024-09-16T13:11:50.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 #129716 - compiler-errors:closure-debuginfo, r=cjgillot\n\nDon't use `typeck_root_def_id` in codegen for finding closure's root\n\nGenerating debuginfo in codegen currently peels off all the closure-specific generics (which presumably is done because they're redundant). This doesn't currently work correctly for the bodies we synthesize for async closures's returned coroutines (#128506), leading to #129702.\n\nSpecifically, `typeck_root_def_id` for some `DefKind::SyntheticCoroutineBody` just returns itself (because it loops while `is_typeck_child` is `true`, and that returns `false` for this defkind), which means we don't end up peeling off the coroutine-specific generics, and we end up encountering an otherwise unreachable `CoroutineWitness` type leading to an ICE.\n\nThis PR fixes `is_typeck_child` to consider `DefKind::SyntheticCorotuineBody` to be a typeck child, fixing `typeck_root_def_id` and suppressing this debuginfo bug.\n\nFixes #129702","shortMessageHtmlLink":"Auto merge of #129716 - compiler-errors:closure-debuginfo, r=cjgillot"}},{"before":"39b7669347b02f25a36da610822fb3c1e03bac6c","after":"170d6cb845c8c3f0dcec5cdd4210df9ecf990244","ref":"refs/heads/master","pushedAt":"2024-09-16T09:51:31.000Z","pushType":"push","commitsCount":11,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #130426 - workingjubilee:rollup-63xnjry, r=workingjubilee\n\nRollup of 5 pull requests\n\nSuccessful merges:\n\n - #127879 (Document futility of printing temporary pointers)\n - #130325 (Use -0.0 in `intrinsics::simd::reduce_add_unordered`)\n - #130336 (simplify `Build::update_existing_submodule`)\n - #130398 (Add system libs for LLVM when cross compiling for Windows)\n - #130420 (Register tool docs for `src/tools/build_helper`)\n\nr? `@ghost`\n`@rustbot` modify labels: rollup","shortMessageHtmlLink":"Auto merge of #130426 - workingjubilee:rollup-63xnjry, r=workingjubilee"}},{"before":"c16ff44537509ca911ffd3653b17c6187c71831d","after":"39b7669347b02f25a36da610822fb3c1e03bac6c","ref":"refs/heads/master","pushedAt":"2024-09-16T06:07:09.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 #130220 - RalfJung:float-classify, r=workingjubilee\n\nsimplify float::classify logic\n\nI played around with the float-classify test in the hope of triggering x87 bugs by strategically adding `black_box`, and still the exact expression `@beetrees` suggested [here](https://github.com/rust-lang/rust/pull/129835#issuecomment-2325661597) remains the only case I found where we get the wrong result on x87. Curiously, this bug only occurs when MIR optimizations are enabled -- probably the extra inlining that does is required for LLVM to hit the right \"bad\" case in the backend. But even for that case, it makes no difference whether `classify` is implemented in the simple bit-pattern-based version or the more complicated version we had before.\n\nWithout even a single testcase that can distinguish our `classify` from the naive version, I suggest we switch to the naive version.","shortMessageHtmlLink":"Auto merge of #130220 - RalfJung:float-classify, r=workingjubilee"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEu1GqZAA","startCursor":null,"endCursor":null}},"title":"Activity · rust-lang/rust"}