{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":461240616,"defaultBranch":"master","name":"rust","ownerLogin":"Dylan-DPC","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2022-02-19T16:01:08.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/99973273?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1709376469.0","currentOid":""},"activityList":{"items":[{"before":"da02fff3b6e4e27156054dcdda6675fe2a2591a6","after":"14fbc3c00525b41a3a3ee2c90e9ab6fd3b05274f","ref":"refs/heads/master","pushedAt":"2024-03-08T10:13:39.000Z","pushType":"push","commitsCount":599,"pusher":{"login":"Dylan-DPC","name":"Dylan DPC","path":"/Dylan-DPC","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99973273?s=80&v=4"},"commit":{"message":"Auto merge of #120268 - DianQK:otherwise_is_last_variant_switchs, r=oli-obk\n\nReplace the default branch with an unreachable branch If it is the last variant\n\nFixes #119520. Fixes #110097.\n\nLLVM currently has limited ability to eliminate dead branches in switches, even with the patch of https://github.com/llvm/llvm-project/issues/73446.\n\nThe main reasons are as follows:\n\n- Additional costs are required to calculate the range of values, and there exist many scenarios that cannot be analyzed accurately.\n- Matching values by bitwise calculation cannot handle odd branches, nor can it handle values like `-1, 0, 1`. See [SimplifyCFG.cpp#L5424](https://github.com/llvm/llvm-project/blob/llvmorg-17.0.6/llvm/lib/Transforms/Utils/SimplifyCFG.cpp#L5424) and https://llvm.godbolt.org/z/qYMqhvMa8\n- The current range information is continuous, even if the metadata for the range is submitted. See [ConstantRange.cpp#L1869-L1870](https://github.com/llvm/llvm-project/blob/llvmorg-17.0.6/llvm/lib/IR/ConstantRange.cpp#L1869-L1870).\n- The metadata of the range may be lost in passes such as SROA. See https://rust.godbolt.org/z/e7f87vKMK.\n\nAlthough we can make improvements, I think it would be more appropriate to put this issue to rustc first. After all, we can easily know the possible values.\n\nNote that we've currently found a slow compilation problem in the presence of unreachable branches. See\nhttps://github.com/llvm/llvm-project/issues/78578.\n\nr? compiler","shortMessageHtmlLink":"Auto merge of rust-lang#120268 - DianQK:otherwise_is_last_variant_swi…"}},{"before":"69db514ed9238bb11f5d2c576fe26020e3b99a52","after":"da02fff3b6e4e27156054dcdda6675fe2a2591a6","ref":"refs/heads/master","pushedAt":"2024-03-03T06:34:13.000Z","pushType":"push","commitsCount":3421,"pusher":{"login":"Dylan-DPC","name":"Dylan DPC","path":"/Dylan-DPC","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99973273?s=80&v=4"},"commit":{"message":"Auto merge of #112865 - rust-lang:cargo_update, r=clubby789\n\nWeekly `cargo update`\n\nAutomation to keep dependencies in `Cargo.lock` current.\n\nThe following is the output from `cargo update`:\n\n```txt\n Updating ahash v0.8.8 -> v0.8.10\n Updating annotate-snippets v0.10.1 -> v0.10.2\n Updating anstream v0.6.11 -> v0.6.13\n Updating anyhow v1.0.79 -> v1.0.80\n Updating bumpalo v3.14.0 -> v3.15.3\n Updating clap v4.5.0 -> v4.5.1\n Updating clap_builder v4.5.0 -> v4.5.1\n Updating clap_complete v4.5.0 -> v4.5.1\n Updating crossbeam-channel v0.5.11 -> v0.5.12\n Updating darling v0.20.6 -> v0.20.8\n Updating darling_core v0.20.6 -> v0.20.8\n Updating darling_macro v0.20.6 -> v0.20.8\n Updating dlmalloc v0.2.5 -> v0.2.6\n Updating indexmap v2.2.3 -> v2.2.5\n Updating libloading v0.8.1 -> v0.8.2\n Updating log v0.4.20 -> v0.4.21\n Updating mio v0.8.10 -> v0.8.11\n Updating normpath v1.1.1 -> v1.2.0\n Updating openssl v0.10.63 -> v0.10.64\n Updating openssl-sys v0.9.99 -> v0.9.101\n Updating pest v2.7.7 -> v2.7.8\n Updating pest_derive v2.7.7 -> v2.7.8\n Updating pest_generator v2.7.7 -> v2.7.8\n Updating pest_meta v2.7.7 -> v2.7.8\n Updating pkg-config v0.3.29 -> v0.3.30\n Updating rayon v1.8.1 -> v1.9.0\n Downgrading regex v1.9.4 -> v1.8.4\n Updating regex-automata v0.3.7 -> v0.3.9\n Updating reqwest v0.11.23 -> v0.11.24\n Adding rustls-pemfile v1.0.4\n Updating ryu v1.0.16 -> v1.0.17\n Updating semver v1.0.21 -> v1.0.22\n Updating serde v1.0.196 -> v1.0.197\n Updating serde_derive v1.0.196 -> v1.0.197\n Updating serde_json v1.0.113 -> v1.0.114\n Updating socket2 v0.5.5 -> v0.5.6\n Updating syn v2.0.48 -> v2.0.52\n Adding sync_wrapper v0.1.2\n Updating sysinfo v0.30.5 -> v0.30.6\n Updating tempfile v3.10.0 -> v3.10.1\n Updating thread_local v1.1.7 -> v1.1.8\n Updating unicode-normalization v0.1.22 -> v0.1.23\n Updating unicode-script v0.5.5 -> v0.5.6\n Updating walkdir v2.4.0 -> v2.5.0\n Updating windows-targets v0.52.0 -> v0.52.4\n Updating windows_aarch64_gnullvm v0.52.0 -> v0.52.4\n Updating windows_aarch64_msvc v0.52.0 -> v0.52.4\n Updating windows_i686_gnu v0.52.0 -> v0.52.4\n Updating windows_i686_msvc v0.52.0 -> v0.52.4\n Updating windows_x86_64_gnu v0.52.0 -> v0.52.4\n Updating windows_x86_64_gnullvm v0.52.0 -> v0.52.4\n Updating windows_x86_64_msvc v0.52.0 -> v0.52.4\n```","shortMessageHtmlLink":"Auto merge of rust-lang#112865 - rust-lang:cargo_update, r=clubby789"}},{"before":"a404b52f1e8541158136a80250c7cc4c0365caac","after":null,"ref":"refs/heads/rollup-d00bdxz","pushedAt":"2024-03-02T10:47:49.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"Dylan-DPC","name":"Dylan DPC","path":"/Dylan-DPC","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99973273?s=80&v=4"}},{"before":"8e8d5af76645344c21e729525b906cf283878d6c","after":"a404b52f1e8541158136a80250c7cc4c0365caac","ref":"refs/heads/rollup-d00bdxz","pushedAt":"2024-03-02T08:03:40.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"Dylan-DPC","name":"Dylan DPC","path":"/Dylan-DPC","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99973273?s=80&v=4"},"commit":{"message":"Rollup merge of #121875 - estebank:e0277-drive-by, r=compiler-errors\n\n Account for unmet T: !Copy in E0277 message\n\n```\nerror[E0277]: the trait bound `T: !Copy` is not satisfied\n --> $DIR/simple.rs:10:16\n |\nLL | not_copy::();\n | ^ the trait bound `T: !Copy` is not satisfied\n```\ninstead of the current\n\n```\nerror[E0277]: the trait bound `T: !Copy` is not satisfied\n --> $DIR/simple.rs:10:16\n |\nLL | not_copy::();\n | ^ the trait `!Copy` is not implemented for `T`\n```","shortMessageHtmlLink":"Rollup merge of rust-lang#121875 - estebank:e0277-drive-by, r=compile…"}},{"before":"9c407050ff2d79495a1e3607f55ca64aa5639bfe","after":"8e8d5af76645344c21e729525b906cf283878d6c","ref":"refs/heads/rollup-d00bdxz","pushedAt":"2024-03-02T08:03:39.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"Dylan-DPC","name":"Dylan DPC","path":"/Dylan-DPC","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99973273?s=80&v=4"},"commit":{"message":"Rollup merge of #121861 - tbu-:pr_floating_point_exact_examples, r=workingjubilee\n\nUse the guaranteed precision of a couple of float functions in docs","shortMessageHtmlLink":"Rollup merge of rust-lang#121861 - tbu-:pr_floating_point_exact_examp…"}},{"before":"319228e5883fc80b3eeb569439c908610250512b","after":"9c407050ff2d79495a1e3607f55ca64aa5639bfe","ref":"refs/heads/rollup-d00bdxz","pushedAt":"2024-03-02T08:03:39.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"Dylan-DPC","name":"Dylan DPC","path":"/Dylan-DPC","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99973273?s=80&v=4"},"commit":{"message":"Rollup merge of #121847 - shamatar:btreemap_fix_implicits, r=cuviper\n\nRemove hidden use of Global\n\nFixes #121797","shortMessageHtmlLink":"Rollup merge of rust-lang#121847 - shamatar:btreemap_fix_implicits, r…"}},{"before":"0c46bc1e457fb27c73c589338211cc800832dfc0","after":"319228e5883fc80b3eeb569439c908610250512b","ref":"refs/heads/rollup-d00bdxz","pushedAt":"2024-03-02T08:03:38.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"Dylan-DPC","name":"Dylan DPC","path":"/Dylan-DPC","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99973273?s=80&v=4"},"commit":{"message":"Rollup merge of #121835 - nnethercote:mv-HandleStore, r=bjorn3\n\nMove `HandleStore` into `server.rs`.\n\nThis just moves the server-relevant parts of handles into `server.rs`. It introduces a new higher-order macro `with_api_handle_types` to avoid some duplication.\n\nThis fixes two `FIXME` comments, and makes things clearer, by not having server code in `client.rs`.\n\nr? ``@bjorn3``","shortMessageHtmlLink":"Rollup merge of rust-lang#121835 - nnethercote:mv-HandleStore, r=bjorn3"}},{"before":"6f6cc2726d5145976e0fc4c506b074d407d71053","after":"0c46bc1e457fb27c73c589338211cc800832dfc0","ref":"refs/heads/rollup-d00bdxz","pushedAt":"2024-03-02T08:03:38.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"Dylan-DPC","name":"Dylan DPC","path":"/Dylan-DPC","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99973273?s=80&v=4"},"commit":{"message":"Rollup merge of #121815 - nnethercote:mv-gather_comments, r=est31\n\nMove `gather_comments`.\n\nTo the module where it is used, so it doesn't have to be `pub`.\n\nr? ``@est31``","shortMessageHtmlLink":"Rollup merge of rust-lang#121815 - nnethercote:mv-gather_comments, r=…"}},{"before":"03a53eb75f2cd8393bc67e2bbaa868bc73223890","after":"6f6cc2726d5145976e0fc4c506b074d407d71053","ref":"refs/heads/rollup-d00bdxz","pushedAt":"2024-03-02T08:03:38.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"Dylan-DPC","name":"Dylan DPC","path":"/Dylan-DPC","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99973273?s=80&v=4"},"commit":{"message":"Rollup merge of #121739 - jieyouxu:loooong-typename, r=estebank\n\nDisplay short types for unimplemented trait\n\nShortens unimplemented trait diagnostics. Now shows:\n\n```\nerror[E0277]: `Option>>` doesn't implement `std::fmt::Display`\n --> $DIR/on_unimplemented_long_types.rs:4:17\n |\nLL | pub fn foo() -> impl std::fmt::Display {\n | ^^^^^^^^^^^^^^^^^^^^^^ `Option>>` cannot be formatted with the default formatter\nLL |\nLL | / Some(Some(Some(Some(Some(Some(Some(Some(Some(S...\nLL | | Some(Some(Some(Some(Some(Some(Some(Some(So...\nLL | | Some(Some(Some(Some(Some(Some(Some(Som...\nLL | | Some(Some(Some(Some(Some(Some(Some...\n... |\nLL | | ))))))))))),\nLL | | )))))))))))\n | |_______________- return type was inferred to be `Option>>` here\n |\n = help: the trait `std::fmt::Display` is not implemented for `Option>>`\n = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead\n\nerror: aborting due to 1 previous error\n\nFor more information about this error, try `rustc --explain E0277`.\n```\n\nI'm not 100% sure if this is desirable, or if we should just let the long types remain long. This is also kinda a short-term bandaid solution. The real long term solution is to properly migrate `rustc_trait_selection`'s error reporting to use translatable diagnostics and then properly handle type name printing.\n\nFixes #121687.","shortMessageHtmlLink":"Rollup merge of rust-lang#121739 - jieyouxu:loooong-typename, r=estebank"}},{"before":"0fc922c5ae3cec76b0e37468a166d491299fe72d","after":"03a53eb75f2cd8393bc67e2bbaa868bc73223890","ref":"refs/heads/rollup-d00bdxz","pushedAt":"2024-03-02T08:03:37.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"Dylan-DPC","name":"Dylan DPC","path":"/Dylan-DPC","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99973273?s=80&v=4"},"commit":{"message":"Rollup merge of #120684 - carschandler:patch-1, r=nnethercote\n\nUpdate E0716.md for clarity\n\nWhen reading through this, I got slightly hung up thinking the `let` it was referring to was the `let tmp` on line 25, which was confusing considering the comment states that the temporary is freed at the end of the block. I think adding this clarification could potentially help some beginners like myself without being overly verbose.","shortMessageHtmlLink":"Rollup merge of rust-lang#120684 - carschandler:patch-1, r=nnethercote"}},{"before":"aeee1f548fd375a26471d5070752e61028ba1a0c","after":"0fc922c5ae3cec76b0e37468a166d491299fe72d","ref":"refs/heads/rollup-d00bdxz","pushedAt":"2024-03-02T08:03:36.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"Dylan-DPC","name":"Dylan DPC","path":"/Dylan-DPC","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99973273?s=80&v=4"},"commit":{"message":"Rollup merge of #117156 - jmillikin:os-unix-socket-ext, r=Amanieu,dtolnay\n\nConvert `Unix{Datagram,Stream}::{set_}passcred()` to per-OS traits\n\nThese methods are the pre-stabilized API for obtaining peer credentials from an `AF_UNIX` socket, part of the `unix_socket_ancillary_data` feature.\n\nTheir current behavior is to get/set one of the `SO_PASSCRED` (Linux), `LOCAL_CREDS_PERSISTENT` (FreeBSD), or `LOCAL_CREDS` (NetBSD) socket options. On other targets the `{set_}passcred()` methods do not exist.\n\nThere are two problems with this approach:\n\n1. Having public methods only exist for certain targets isn't permitted in a stable `std` API.\n\n2. These options have generally similar purposes, but they are non-POSIX and their details can differ in subtle and surprising ways (such as whether they continue to be set after the next call to `recvmsg()`).\n\nSplitting into OS-specific extension traits is the preferred solution to both problems.","shortMessageHtmlLink":"Rollup merge of rust-lang#117156 - jmillikin:os-unix-socket-ext, r=Am…"}},{"before":"4cdd20584ccb75890d7d9bfae266054abfae5d46","after":"aeee1f548fd375a26471d5070752e61028ba1a0c","ref":"refs/heads/rollup-d00bdxz","pushedAt":"2024-03-02T08:03:36.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"Dylan-DPC","name":"Dylan DPC","path":"/Dylan-DPC","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99973273?s=80&v=4"},"commit":{"message":"Rollup merge of #109263 - squell:master, r=cuviper\n\nfix typo in documentation for std::fs::Permissions\n\nPlease check and re-check this PR carefully to see if I got this right.\n\nBut by my logic, if the `read_only` function returns `true`, I would not expect be able to write to the file (it being read only); so this text is meant to clarify that `read_only` being `false` doesn't mean *you* can actually write to the file, just that \"in general\" someone is able to.","shortMessageHtmlLink":"Rollup merge of rust-lang#109263 - squell:master, r=cuviper"}},{"before":null,"after":"4cdd20584ccb75890d7d9bfae266054abfae5d46","ref":"refs/heads/rollup-d00bdxz","pushedAt":"2024-03-02T08:03:35.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"Dylan-DPC","name":"Dylan DPC","path":"/Dylan-DPC","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99973273?s=80&v=4"},"commit":{"message":"Auto merge of #121657 - estebank:issue-119665, r=davidtwco\n\nDetect more cases of `=` to `:` typo\n\nWhen a `Local` is fully parsed, but not followed by a `;`, keep the `:` span arround and mention it. If the type could continue being parsed as an expression, suggest replacing the `:` with a `=`.\n\n```\nerror: expected one of `!`, `+`, `->`, `::`, `;`, or `=`, found `.`\n --> file.rs:2:32\n |\n2 | let _: std::env::temp_dir().join(\"foo\");\n | - ^ expected one of `!`, `+`, `->`, `::`, `;`, or `=`\n | |\n | while parsing the type for `_`\n | help: use `=` if you meant to assign\n```\n\nFix #119665.","shortMessageHtmlLink":"Auto merge of rust-lang#121657 - estebank:issue-119665, r=davidtwco"}},{"before":"229108a6a5467de10aed8af95ed27b912b30dfe8","after":null,"ref":"refs/heads/rollup-735p4u4","pushedAt":"2024-02-22T04:14:47.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"Dylan-DPC","name":"Dylan DPC","path":"/Dylan-DPC","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99973273?s=80&v=4"}},{"before":"860ad7c10b3a6f70beb46f9ea391c615bccfabe1","after":"229108a6a5467de10aed8af95ed27b912b30dfe8","ref":"refs/heads/rollup-735p4u4","pushedAt":"2024-02-21T08:55:59.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"Dylan-DPC","name":"Dylan DPC","path":"/Dylan-DPC","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99973273?s=80&v=4"},"commit":{"message":"Rollup merge of #121375 - chenyukang:yukang-fix-tidy, r=albertlarsan68\n\nPrint proper relative path for descriptive name check\n\nThe `stripped_path` starts with `ui/...`, while we are mostly working in `rust` directory.\nprint a relative path starting with `tests/ui/...` so that we can copy and use the path when renaming.\n\nHardcoding the `tests` maybe not good style, but seems we have a lot of hardcoded `tests/..` paths in tidy check :(.","shortMessageHtmlLink":"Rollup merge of rust-lang#121375 - chenyukang:yukang-fix-tidy, r=albe…"}},{"before":"e10b3b88b4553f70b25c69403e69ea75d93215bb","after":"860ad7c10b3a6f70beb46f9ea391c615bccfabe1","ref":"refs/heads/rollup-735p4u4","pushedAt":"2024-02-21T08:55:58.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"Dylan-DPC","name":"Dylan DPC","path":"/Dylan-DPC","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99973273?s=80&v=4"},"commit":{"message":"Rollup merge of #121361 - pitaj:diag_items-legacy_numeric_constants, r=Nilstrieb\n\ndiagnostic items for legacy numeric modules\n\nFor https://github.com/rust-lang/rust-clippy/pull/12312\n\nMissed these in #121272\n\nr? `@Nilstrieb`","shortMessageHtmlLink":"Rollup merge of rust-lang#121361 - pitaj:diag_items-legacy_numeric_co…"}},{"before":"4a205bba5eb4ca3e17fd920015a8d95001511bc7","after":"e10b3b88b4553f70b25c69403e69ea75d93215bb","ref":"refs/heads/rollup-735p4u4","pushedAt":"2024-02-21T08:55:58.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"Dylan-DPC","name":"Dylan DPC","path":"/Dylan-DPC","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99973273?s=80&v=4"},"commit":{"message":"Rollup merge of #121338 - jieyouxu:ambiguous_wide_pointer_comparisons_suggestion, r=Nadrieril\n\nDowngrade ambiguous_wide_pointer_comparisons suggestions to MaybeIncorrect\n\nIn certain cases like #121330, it is possible to have more than one suggestion from the `ambiguous_wide_pointer_comparisons` lint (which before this PR are `MachineApplicable`). When this gets passed to rustfix, rustfix makes *multiple* changes according to the suggestions which result in incorrect code.\n\nThis is a temporary workaround. The real long term solution to problems like these is to address .\n\nThis PR also includes a drive-by edit to the panic message emitted by compiletest because \"ui\" test suite now uses `//`@`` directives.\n\nFixes #121330.","shortMessageHtmlLink":"Rollup merge of rust-lang#121338 - jieyouxu:ambiguous_wide_pointer_co…"}},{"before":"94e459f1a9919eab5f34ccfe4887e03101335eee","after":"4a205bba5eb4ca3e17fd920015a8d95001511bc7","ref":"refs/heads/rollup-735p4u4","pushedAt":"2024-02-21T08:55:57.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"Dylan-DPC","name":"Dylan DPC","path":"/Dylan-DPC","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99973273?s=80&v=4"},"commit":{"message":"Rollup merge of #121328 - ffmancera:ff/verbose_long_type, r=compiler-errors\n\nMake --verbose imply -Z write-long-types-to-disk=no\n\nWhen shortening the type it is necessary to take into account the `--verbose` flag, if it is activated, we must always show the entire type and not write it in a file.\n\nFixes: https://github.com/rust-lang/rust/issues/119130","shortMessageHtmlLink":"Rollup merge of rust-lang#121328 - ffmancera:ff/verbose_long_type, r=…"}},{"before":"4840785cf8d6a1684403343e65ae664bbda23f18","after":"94e459f1a9919eab5f34ccfe4887e03101335eee","ref":"refs/heads/rollup-735p4u4","pushedAt":"2024-02-21T08:55:57.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"Dylan-DPC","name":"Dylan DPC","path":"/Dylan-DPC","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99973273?s=80&v=4"},"commit":{"message":"Rollup merge of #121304 - compiler-errors:ext, r=nnethercote\n\nAdd docs for extension proc-macro\n\nr? nnethercote","shortMessageHtmlLink":"Rollup merge of rust-lang#121304 - compiler-errors:ext, r=nnethercote"}},{"before":"d5206c6ecde0cb887518bc9142dcb6ac21cbbe94","after":"4840785cf8d6a1684403343e65ae664bbda23f18","ref":"refs/heads/rollup-735p4u4","pushedAt":"2024-02-21T08:55:56.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"Dylan-DPC","name":"Dylan DPC","path":"/Dylan-DPC","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99973273?s=80&v=4"},"commit":{"message":"Rollup merge of #121288 - tshepang:make-expand-translatable, r=michaelwoerister\n\nmake rustc_expand translatable\n\nthese are the last of the easy ones","shortMessageHtmlLink":"Rollup merge of rust-lang#121288 - tshepang:make-expand-translatable,…"}},{"before":"0987e41d1ccbae7a8a55fdcde4af0ea76ebfe2d3","after":"d5206c6ecde0cb887518bc9142dcb6ac21cbbe94","ref":"refs/heads/rollup-735p4u4","pushedAt":"2024-02-21T08:55:56.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"Dylan-DPC","name":"Dylan DPC","path":"/Dylan-DPC","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99973273?s=80&v=4"},"commit":{"message":"Rollup merge of #121208 - nnethercote:delayed_bug-to-bug, r=lcnr\n\nConvert `delayed_bug`s to `bug`s.\n\nI have a suspicion that quite a few delayed bug paths are impossible to reach, so I did an experiment.\n\nI converted every `delayed_bug` to a `bug`, ran the full test suite, then converted back every `bug` that was hit. A surprising number were never hit.\n\nThis is too dangerous to merge. Increased coverage (fuzzing or a crater run) would likely hit more cases. But it might be useful for people to look at and think about which paths are genuinely unreachable.\n\nr? `@ghost`","shortMessageHtmlLink":"Rollup merge of rust-lang#121208 - nnethercote:delayed_bug-to-bug, r=…"}},{"before":null,"after":"0987e41d1ccbae7a8a55fdcde4af0ea76ebfe2d3","ref":"refs/heads/rollup-735p4u4","pushedAt":"2024-02-21T08:55:55.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"Dylan-DPC","name":"Dylan DPC","path":"/Dylan-DPC","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99973273?s=80&v=4"},"commit":{"message":"Auto merge of #121380 - weihanglo:update-cargo, r=weihanglo\n\nUpdate cargo\n\n9 commits in 7b7af3077bff8d60b7f124189bc9de227d3063a9..194a60b2952bd5d12ba15dd2577a97eed7d3c587\n2024-02-17 14:13:00 +0000 to 2024-02-21 01:53:45 +0000\n- fix: remove unused `sysroot_host_libdir` (rust-lang/cargo#13468)\n- feat: support `target..rustdocflags` officially (rust-lang/cargo#13197)\n- Fix unused imports on Windows. (rust-lang/cargo#13469)\n- Fix more redundant imports. (rust-lang/cargo#13466)\n- test: Remove empty snapshots (rust-lang/cargo#13465)\n- chore: Rename `Config` to `GlobalContext` (rust-lang/cargo#13409)\n- Fix redundant imports. (rust-lang/cargo#13464)\n- feat: respect `rust-version` when generating lockfile (rust-lang/cargo#12861)\n- chore(ci): bump CI tools (rust-lang/cargo#13459)\n\nr? ghost","shortMessageHtmlLink":"Auto merge of rust-lang#121380 - weihanglo:update-cargo, r=weihanglo"}},{"before":"15e8b903b224bde6d28c6edab5b36c575ccd093e","after":"c70c4cc708dda9015d9e873952dfc2f776aaf725","ref":"refs/heads/rollup-v0or19a","pushedAt":"2024-01-29T12:56:55.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"Dylan-DPC","name":"Dylan DPC","path":"/Dylan-DPC","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99973273?s=80&v=4"},"commit":{"message":"Rollup merge of #120462 - mu001999:clean, r=Nilstrieb\n\nClean dead code\n\nDetected by #118257","shortMessageHtmlLink":"Rollup merge of rust-lang#120462 - mu001999:clean, r=Nilstrieb"}},{"before":"eaa100204e0f757f934b23db9bcbf570276e4018","after":"15e8b903b224bde6d28c6edab5b36c575ccd093e","ref":"refs/heads/rollup-v0or19a","pushedAt":"2024-01-29T12:56:55.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"Dylan-DPC","name":"Dylan DPC","path":"/Dylan-DPC","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99973273?s=80&v=4"},"commit":{"message":"Rollup merge of #120453 - mattheww:2024-01_normalize_newlines, r=oli-obk\n\nFix incorrect comment in normalize_newlines\n\nThe incorrect comment seems to be left over from sometime before this function was first merged.","shortMessageHtmlLink":"Rollup merge of rust-lang#120453 - mattheww:2024-01_normalize_newline…"}},{"before":"5de94a3c807f424334e0906ee772e4f1adf6cdda","after":"eaa100204e0f757f934b23db9bcbf570276e4018","ref":"refs/heads/rollup-v0or19a","pushedAt":"2024-01-29T12:56:54.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"Dylan-DPC","name":"Dylan DPC","path":"/Dylan-DPC","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99973273?s=80&v=4"},"commit":{"message":"Rollup merge of #120428 - petrochenkov:somehir2, r=compiler-errors\n\nhir: Two preparatory changes for #120206\n\ncc https://github.com/rust-lang/rust/pull/120206\nr? ```@compiler-errors```","shortMessageHtmlLink":"Rollup merge of rust-lang#120428 - petrochenkov:somehir2, r=compiler-…"}},{"before":"549eeb077d482734f623c3769333fed71e1e7fca","after":"5de94a3c807f424334e0906ee772e4f1adf6cdda","ref":"refs/heads/rollup-v0or19a","pushedAt":"2024-01-29T12:56:54.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"Dylan-DPC","name":"Dylan DPC","path":"/Dylan-DPC","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99973273?s=80&v=4"},"commit":{"message":"Rollup merge of #120420 - lnicola:rm-pattern-analysis-derivative, r=Nilstrieb\n\nStop using derivative in rustc_pattern_analysis\n\nCC #109302, https://github.com/rust-lang/rust-analyzer/pull/16420#discussion_r1464357157\n\nr? ````@Nadrieril````","shortMessageHtmlLink":"Rollup merge of rust-lang#120420 - lnicola:rm-pattern-analysis-deriva…"}},{"before":"d04bede047171967736d6237299e3aee8374b858","after":"549eeb077d482734f623c3769333fed71e1e7fca","ref":"refs/heads/rollup-v0or19a","pushedAt":"2024-01-29T12:56:53.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"Dylan-DPC","name":"Dylan DPC","path":"/Dylan-DPC","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99973273?s=80&v=4"},"commit":{"message":"Rollup merge of #120390 - matthewjasper:inline-constant-pat-mir, r=davidtwco\n\nBorrow check inline const patterns\n\nAdd type annotations to MIR so that borrowck can pass constraints from inline constants in patterns to the containing function.\nAlso enables some inline constant pattern tests that were fixed by the THIR unsafeck stabilization.\n\ncc #76001","shortMessageHtmlLink":"Rollup merge of rust-lang#120390 - matthewjasper:inline-constant-pat-…"}},{"before":"4528b371963276ed32dd261da04b6c714e6768f6","after":"d04bede047171967736d6237299e3aee8374b858","ref":"refs/heads/rollup-v0or19a","pushedAt":"2024-01-29T12:56:53.000Z","pushType":"push","commitsCount":6,"pusher":{"login":"Dylan-DPC","name":"Dylan DPC","path":"/Dylan-DPC","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99973273?s=80&v=4"},"commit":{"message":"Rollup merge of #120373 - HTGAzureX1212:HTGAzureX1212/issue-120040, r=ChrisDenton\n\nAdjust Behaviour of `read_dir` and `ReadDir` in Windows Implementation: Check Whether Path to Search In Exists\n\nThis pull request changes the `read_dir` function's and the `ReadDir` structure's internal implementations for the Windows operating system to make its behaviour more accurate.\n\nIt should be noted that `ERROR_FILE_NOT_FOUND` is returned by the `FindFirstFileW` function when *no matching files can be found*, not necessarily that the path to search in does not exist in the first place. Therefore, directly returning the \"The system cannot find the file specified.\" may not be accurate.\n\nAn extra check for whether the path to search in exists is added, returning a constructed `ReadDir` iterator with its handle being an `INVALID_HANDLE_VALUE` returned by the `FindFirstFileW` function if `ERROR_FILE_NOT_FOUND` is indeed the last OS error. The `ReadDir` implementation for the Windows operating system is correspondingly updated to always return `None` if the handle it has is an `INVALID_HANDLE_VALUE` which can only be the case if and only if specifically constructed by the `read_dir` function in the aforementioned conditions.\n\nIt should also be noted that `FindFirstFileW` would have returned `ERROR_PATH_NOT_FOUND` if the path to search in does not exist in the first place.\n\nPresumably fixes #120040.","shortMessageHtmlLink":"Rollup merge of rust-lang#120373 - HTGAzureX1212:HTGAzureX1212/issue-…"}},{"before":"0138151c21cbfabad410ebfb4a082edafed2e067","after":"4528b371963276ed32dd261da04b6c714e6768f6","ref":"refs/heads/rollup-v0or19a","pushedAt":"2024-01-29T12:56:52.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"Dylan-DPC","name":"Dylan DPC","path":"/Dylan-DPC","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99973273?s=80&v=4"},"commit":{"message":"Rollup merge of #120266 - steffahn:a_rc_into_inner_docs, r=Mark-Simulacrum\n\nImprove documentation for [A]Rc::into_inner\n\nGeneral improvements, and also aims to better encourage the reader to actually check out Arc::try_unwrap.\n\nThis addresses concerns from https://github.com/rust-lang/rust/issues/106894#issuecomment-1905627234.\n\nRendered:\n\n![Screenshot_20240123_114436](https://github.com/rust-lang/rust/assets/3986214/68896d62-13e0-4f3a-8073-91d8e77c5554)\n![Screenshot_20240123_114455](https://github.com/rust-lang/rust/assets/3986214/dc58e4bd-dd7f-40b1-bc50-fd6200dde593)","shortMessageHtmlLink":"Rollup merge of rust-lang#120266 - steffahn:a_rc_into_inner_docs, r=M…"}},{"before":"8017ea40165b3e84549f9b699a013fabd964e422","after":"0138151c21cbfabad410ebfb4a082edafed2e067","ref":"refs/heads/rollup-v0or19a","pushedAt":"2024-01-29T12:56:52.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"Dylan-DPC","name":"Dylan DPC","path":"/Dylan-DPC","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/99973273?s=80&v=4"},"commit":{"message":"Rollup merge of #118625 - ShE3py:expr-in-pats, r=WaffleLapkin\n\nImprove handling of expressions in patterns\n\nCloses #112593.\n\nMethodcalls' dots in patterns are silently recovered as commas (e.g. `Foo(\"\".len())` -> `Foo(\"\", len())`) so extra diagnostics are emitted:\n```rs\nstruct Foo(u8, String, u8);\n\nfn bar(foo: Foo) -> bool {\n match foo {\n Foo(4, \"yippee\".yeet(), 7) => true,\n _ => false\n }\n}\n```\n```\nerror: expected one of `)`, `,`, `...`, `..=`, `..`, or `|`, found `.`\n --> main.rs:5:24\n |\n5 | Foo(4, \"yippee\".yeet(), 7) => true,\n | ^\n | |\n | expected one of `)`, `,`, `...`, `..=`, `..`, or `|`\n | help: missing `,`\n\nerror[E0531]: cannot find tuple struct or tuple variant `yeet` in this scope\n --> main.rs:5:25\n |\n5 | Foo(4, \"yippee\".yeet(), 7) => true,\n | ^^^^ not found in this scope\n\nerror[E0023]: this pattern has 4 fields, but the corresponding tuple struct has 3 fields\n --> main.rs:5:13\n |\n1 | struct Foo(u8, String, u8);\n | -- ------ -- tuple struct has 3 fields\n...\n5 | Foo(4, \"yippee\".yeet(), 7) => true,\n | ^ ^^^^^^^^ ^^^^^^ ^ expected 3 fields, found 4\n\nerror: aborting due to 3 previous errors\n```\n\nThis PR checks for patterns that ends with a dot and a lowercase ident (as structs/variants should be uppercase):\n```\nerror: expected a pattern, found a method call\n --> main.rs:5:16\n |\n5 | Foo(4, \"yippee\".yeet(), 7) => true,\n | ^^^^^^^^^^^^^^^ method calls are not allowed in patterns\n\nerror: aborting due to 1 previous error\n```\n\nAlso check for expressions:\n```rs\nfn is_idempotent(x: f32) -> bool {\n match x {\n x * x => true,\n _ => false,\n }\n}\n\nfn main() {\n let mut t: [i32; 5];\n let t[0] = 1;\n}\n```\n```\nerror: expected a pattern, found an expression\n --> main.rs:3:9\n |\n3 | x * x => true,\n | ^^^^^ arbitrary expressions are not allowed in patterns\n\nerror: expected a pattern, found an expression\n --> main.rs:10:9\n |\n10 | let t[0] = 1;\n | ^^^^ arbitrary expressions are not allowed in patterns\n```\n\nWould be cool if the compiler could suggest adding a guard for `match`es, but I've no idea how to do it.\n\n---\n`@rustbot` label +A-diagnostics +A-parser +A-patterns +C-enhancement","shortMessageHtmlLink":"Rollup merge of rust-lang#118625 - ShE3py:expr-in-pats, r=WaffleLapkin"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyNC0wMy0wOFQxMDoxMzozOS4wMDAwMDBazwAAAAQQBPiG","startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wMy0wOFQxMDoxMzozOS4wMDAwMDBazwAAAAQQBPiG","endCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wMS0yOVQxMjo1Njo1Mi4wMDAwMDBazwAAAAPr0smc"}},"title":"Activity · Dylan-DPC/rust"}