{"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":"0160bff4b1bffa241299aba8c8c63e7a3cd871fe","after":"9e7aff794539aa040362f4424eb29207449ffce0","ref":"refs/heads/master","pushedAt":"2024-05-15T04:14:52.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 #125031 - Oneirical:dynamic-libs, r=jieyouxu\n\nMigrate `run-make/issue-11908` to new `rmake.rs` format\n\nPart of #121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html).\n\nSet as draft, because I have a few concerns:\n\n- [x] I am not sure if `target().contains(\"darwin\")` is a good way of checking that the target is on OSX.\n- [x] I find it strange that the `dylib` part of the test adapts to different target platforms, but not the `rlib` part. Is `rlib` named the same on all platforms?","shortMessageHtmlLink":"Auto merge of #125031 - Oneirical:dynamic-libs, r=jieyouxu"}},{"before":"8387315ab3c26a57a1f53a90f188f0bc88514bca","after":"0160bff4b1bffa241299aba8c8c63e7a3cd871fe","ref":"refs/heads/master","pushedAt":"2024-05-15T02:09:03.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 #125084 - Jules-Bertholet:fix-125058, r=Nadrieril\n\n`rustc_hir_typeck`: Account for `skipped_ref_pats` in `expr_use_visitor`\n\nFixes #125058\n\nr? `@Nadrieril`\n\ncc https://github.com/rust-lang/rust/issues/123076\n\n`@rustbot` label A-edition-2024 A-patterns","shortMessageHtmlLink":"Auto merge of #125084 - Jules-Bertholet:fix-125058, r=Nadrieril"}},{"before":"ac385a5af6d9fa8399a0cec799833cd28324abf8","after":"8387315ab3c26a57a1f53a90f188f0bc88514bca","ref":"refs/heads/master","pushedAt":"2024-05-14T20:15:24.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 #125125 - lovesegfault:opt-dist-specify-rustc-perf, r=Mark-Simulacrum\n\nfeat(tools/opt-dist): allow local builds to specify a rustc-perf checkout\n\nThis is a first step towards allowing `opt-dist` to work in a sandboxed /\nair-gapped environment, as it allows users to bypass the ad-hoc download of\n`rustc-perf`.","shortMessageHtmlLink":"Auto merge of #125125 - lovesegfault:opt-dist-specify-rustc-perf, r=M…"}},{"before":"bdfd941f4dcbe54e0283433ac970febf4092fa6a","after":"ac385a5af6d9fa8399a0cec799833cd28324abf8","ref":"refs/heads/master","pushedAt":"2024-05-14T16:45:21.000Z","pushType":"push","commitsCount":22,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125120 - compiler-errors:rollup-mnjybwv, r=compiler-errors\n\nRollup of 7 pull requests\n\nSuccessful merges:\n\n - #119838 (style-guide: When breaking binops handle multi-line first operand better)\n - #124844 (Use a proper probe for shadowing impl)\n - #125047 (Migrate `run-make/issue-14500` to new `rmake.rs` format)\n - #125080 (only find segs chain for missing methods when no available candidates)\n - #125088 (Uplift `AliasTy` and `AliasTerm`)\n - #125100 (Don't do post-method-probe error reporting steps if we're in a suggestion)\n - #125118 (Use new utility functions/methods in run-make tests)\n\nr? `@ghost`\n`@rustbot` modify labels: rollup","shortMessageHtmlLink":"Auto merge of #125120 - compiler-errors:rollup-mnjybwv, r=compiler-er…"}},{"before":"31026b7fe3e510a646eddeda838d1f0859f892e7","after":"bdfd941f4dcbe54e0283433ac970febf4092fa6a","ref":"refs/heads/master","pushedAt":"2024-05-14T14:39:14.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 #123816 - tgross35:f16-f128-mangling, r=michaelwoerister\n\nAdd v0 symbol mangling for `f16` and `f128`\n\nAs discussed at , use the crate encoding to represent new primitives.","shortMessageHtmlLink":"Auto merge of #123816 - tgross35:f16-f128-mangling, r=michaelwoerister"}},{"before":"c45e831d8fcd33d656047ba97d263c4b91a00735","after":"31026b7fe3e510a646eddeda838d1f0859f892e7","ref":"refs/heads/master","pushedAt":"2024-05-14T12:16:21.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 #125023 - morr0ne:linux-none-target, r=Nilstrieb\n\nAdd x86_64-unknown-linux-none target\n\nAdds a freestanding linux binary with no libc dependency. This is useful for writing programs written only in rust. It is also essential for writing low level stuff like libc or a dynamic linker.\n\nTier 3 policy:\n\n>A tier 3 target must have a designated developer or developers (the \"target maintainers\") on record to be CCed when issues arise regarding the target. (The mechanism to track and CC such developers may evolve over time.)\n\nI will be the designed maintainer for this target\n\n>Targets must use naming consistent with any existing targets; for instance, a target for the same CPU or OS as an existing Rust target should use the same name for that CPU or OS. Targets should normally use the same names and naming conventions as used elsewhere in the broader ecosystem beyond Rust (such as in other toolchains), unless they have a very good reason to diverge. Changing the name of a target can be highly disruptive, especially once the target reaches a higher tier, so getting the name right is important even for a tier 3 target.\n\nThe target triple is consistent with other targets\n\n>Target names should not introduce undue confusion or ambiguity unless absolutely necessary to maintain ecosystem compatibility. For example, if the name of the target makes people extremely likely to form incorrect beliefs about what it targets, the name should be changed or augmented to disambiguate it.\nIf possible, use only letters, numbers, dashes and underscores for the name. Periods (.) are known to cause issues in Cargo.\n\nThere is no confusion with other targets since it explicitly adds \"none\" at the end instead of omitting the environment\n\n>Tier 3 targets may have unusual requirements to build or use, but must not create legal issues or impose onerous legal terms for the Rust project or for Rust developers or users.\n\nThe target does not introduce any unusual requirement\n\n>The target must not introduce license incompatibilities.\n\nThere are no license incompatibilities\n\n> Anything added to the Rust repository must be under the standard Rust license (MIT OR Apache-2.0).\n\nEverything added is under that license\n\n>The target must not cause the Rust tools or libraries built for any other host (even when supporting cross-compilation to the target) to depend on any new dependency less permissive than the Rust licensing policy. This applies whether the dependency is a Rust crate that would require adding new license exceptions (as specified by the tidy tool in the rust-lang/rust repository), or whether the dependency is a native library or binary. In other words, the introduction of the target must not cause a user installing or running a version of Rust or the Rust tools to be subject to any new license requirements.\n\nThere are no new dependencies\n\n>Compiling, linking, and emitting functional binaries, libraries, or other code for the target (whether hosted on the target itself or cross-compiling from another target) must not depend on proprietary (non-FOSS) libraries. Host tools built for the target itself may depend on the ordinary runtime libraries supplied by the platform and commonly used by other applications built for the target, but those libraries must not be required for code generation for the target; cross-compilation to the target must not require such libraries at all. For instance, rustc built for the target may depend on a common proprietary C runtime library or console output library, but must not depend on a proprietary code generation library or code optimization library. Rust's license permits such combinations, but the Rust project has no interest in maintaining such combinations within the scope of Rust itself, even at tier 3.\n\nThere is no proprietary dependencies\n\n>\"onerous\" here is an intentionally subjective term. At a minimum, \"onerous\" legal/licensing terms include but are not limited to: non-disclosure requirements, non-compete requirements, contributor license agreements (CLAs) or equivalent, \"non-commercial\"/\"research-only\"/etc terms, requirements conditional on the employer or employment of any particular Rust developers, revocable terms, any requirements that create liability for the Rust project or its developers or users, or any requirements that adversely affect the livelihood or prospects of the Rust project or its developers or users.\n\nNo such terms exist for this target\n\n>Neither this policy nor any decisions made regarding targets shall create any binding agreement or estoppel by any party. If any member of an approving Rust team serves as one of the maintainers of a target, or has any legal or employment requirement (explicit or implicit) that might affect their decisions regarding a target, they must recuse themselves from any approval decisions regarding the target's tier status, though they may otherwise participate in discussions.\n\n>This requirement does not prevent part or all of this policy from being cited in an explicit contract or work agreement (e.g. to implement or maintain support for a target). This requirement exists to ensure that a developer or team responsible for reviewing and approving a target does not face any legal threats or obligations that would prevent them from freely exercising their judgment in such approval, even if such judgment involves subjective matters or goes beyond the letter of these requirements.\n\nUnderstood\n\n>Tier 3 targets should attempt to implement as much of the standard libraries as possible and appropriate (core for most targets, alloc for targets that can support dynamic memory allocation, std for targets with an operating system or equivalent layer of system-provided functionality), but may leave some code unimplemented (either unavailable or stubbed out as appropriate), whether because the target makes it impossible to implement or challenging to implement. The authors of pull requests are not obligated to avoid calling any portions of the standard library on the basis of a tier 3 target not implementing those portions.\n\nThe target already implements core. It might be possible in the future to add support for alloc and std by leveraging crates such as [origin](https://github.com/sunfishcode/origin/) and [rustix](https://github.com/bytecodealliance/rustix)\n\n> The target must provide documentation for the Rust community explaining how to build for the target, using cross-compilation if possible. If the target supports running binaries, or running tests (even if they do not pass), the documentation must explain how to run such binaries or tests for the target, using emulation if possible or dedicated hardware if necessary.\n\nI believe the proper docs are added\n\n>Tier 3 targets must not impose burden on the authors of pull requests, or other developers in the community, to maintain the target. In particular, do not post comments (automated or manual) on a PR that derail or suggest a block on the PR based on a tier 3 target. Do not send automated messages or notifications (via any medium, including via `@)` to a PR author or others involved with a PR regarding a tier 3 target, unless they have opted into such messages.\n\n> Backlinks such as those generated by the issue/PR tracker when linking to an issue or PR are not considered a violation of this policy, within reason. However, such messages (even on a separate repository) must not generate notifications to anyone involved with a PR who has not requested such notifications.\n\nUnderstood\n\n> Patches adding or updating tier 3 targets must not break any existing tier 2 or tier 1 target, and must not knowingly break another tier 3 target without approval of either the compiler team or the maintainers of the other tier 3 target.\n\n> In particular, this may come up when working on closely related targets, such as variations of the same architecture with different features. Avoid introducing unconditional uses of features that another variation of the target may not have; use conditional compilation or runtime detection, as appropriate, to let each target run code supported by that target.\n\nNo other targets are effected\n\n>Tier 3 targets must be able to produce assembly using at least one of rustc's supported backends from any host target.\n\nThe same backends used by other linux targets work without issues","shortMessageHtmlLink":"Auto merge of #125023 - morr0ne:linux-none-target, r=Nilstrieb"}},{"before":"58426f4a5b69d10db1b0ffa017bac25f1b2e801e","after":"c45e831d8fcd33d656047ba97d263c4b91a00735","ref":"refs/heads/master","pushedAt":"2024-05-14T10:06:43.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 #124228 - compiler-errors:lint-overcaptures, r=oli-obk\n\nWarn against changes in opaque lifetime captures in 2024\n\nAdds a (mostly[^1]) machine-applicable lint `IMPL_TRAIT_OVERCAPTURES` which detects cases where we will capture more lifetimes in edition 2024 than in edition <= 2021, which may lead to erroneous borrowck errors.\n\nThis lint is gated behind the `precise_capturing` feature gate and marked `Allow` for now.\n\n[^1]: Except when there are APITs -- I may work on that soon\n\nr? oli-obk","shortMessageHtmlLink":"Auto merge of #124228 - compiler-errors:lint-overcaptures, r=oli-obk"}},{"before":"fba5f44bd880b83245f7d30afe55bf745a88cdf0","after":"58426f4a5b69d10db1b0ffa017bac25f1b2e801e","ref":"refs/heads/master","pushedAt":"2024-05-14T07:43:10.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 #125026 - Oneirical:clink-tests, r=jieyouxu\n\nMigrate `run-make/c-link-to-rust-va-list-fn` to `rmake`\n\nPart of #121876.\n\nr? `@jieyouxu`","shortMessageHtmlLink":"Auto merge of #125026 - Oneirical:clink-tests, r=jieyouxu"}},{"before":"9105c57b7f6623310e33f3ee7e48a3114e5190a7","after":"fba5f44bd880b83245f7d30afe55bf745a88cdf0","ref":"refs/heads/master","pushedAt":"2024-05-14T05:34:08.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 #125098 - jhpratt:rollup-2qm4gga, r=jhpratt\n\nRollup of 4 pull requests\n\nSuccessful merges:\n\n - #116675 ([ptr] Document maximum allocation size)\n - #124997 (Fix ICE while casting a type with error)\n - #125072 (Add test for dynamic dispatch + Pin::new soundness)\n - #125090 (Migrate fuchsia docs from `pm` to `ffx`)\n\nr? `@ghost`\n`@rustbot` modify labels: rollup","shortMessageHtmlLink":"Auto merge of #125098 - jhpratt:rollup-2qm4gga, r=jhpratt"}},{"before":"34582118afaf00b0eb2d209a90b181c7156b501c","after":"9105c57b7f6623310e33f3ee7e48a3114e5190a7","ref":"refs/heads/master","pushedAt":"2024-05-14T03:18:38.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 #124256 - nnethercote:rm-NtIdent-NtLifetime, r=petrochenkov\n\nRemove `NtIdent` and `NtLifetime`\n\nThis is one part of the bigger \"remove `Nonterminal` and `TokenKind::Interpolated`\" change drafted in #114647. More details in the individual commit messages.\n\nr? `@petrochenkov`","shortMessageHtmlLink":"Auto merge of #124256 - nnethercote:rm-NtIdent-NtLifetime, r=petroche…"}},{"before":"ab14f944afe4234db378ced3801e637eae6c0f30","after":"34582118afaf00b0eb2d209a90b181c7156b501c","ref":"refs/heads/master","pushedAt":"2024-05-14T00:27:28.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 #125076 - compiler-errors:alias-term, r=lcnr\n\nSplit out `ty::AliasTerm` from `ty::AliasTy`\n\nSplitting out `AliasTerm` (for use in project and normalizes goals) and `AliasTy` (for use in `ty::Alias`)\n\nr? lcnr","shortMessageHtmlLink":"Auto merge of #125076 - compiler-errors:alias-term, r=lcnr"}},{"before":"030a12ce2b1ee42f2d8837b1b500fd9cf12ea191","after":"ab14f944afe4234db378ced3801e637eae6c0f30","ref":"refs/heads/master","pushedAt":"2024-05-13T22:19:37.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 #125086 - matthiaskrgr:rollup-xob4lof, r=matthiaskrgr\n\nRollup of 5 pull requests\n\nSuccessful merges:\n\n - #119515 (style-guide: Format single associated type `where` clauses on the same line)\n - #119959 ([meta] Clarify prioritization alert)\n - #123817 (Stabilize `seek_seek_relative`)\n - #125063 (Don't call `env::set_var` in `rustc_driver::install_ice_hook`)\n - #125071 (Migrate rustdoc target spec json path)\n\nr? `@ghost`\n`@rustbot` modify labels: rollup","shortMessageHtmlLink":"Auto merge of #125086 - matthiaskrgr:rollup-xob4lof, r=matthiaskrgr"}},{"before":"421f7ca3a9c7ad574536666f6f0df6c7fe5e6780","after":"030a12ce2b1ee42f2d8837b1b500fd9cf12ea191","ref":"refs/heads/master","pushedAt":"2024-05-13T17:39:17.000Z","pushType":"push","commitsCount":45,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125074 - bjorn3:sync_cg_clif-2024-05-13, r=bjorn3\n\nSubtree sync for rustc_codegen_cranelift\n\nA variety of bug fixes, added support for naked functions, a couple more vendor intrinsics implemented.\n\nr? `@ghost`\n\n`@rustbot` label +A-codegen +A-cranelift +T-compiler","shortMessageHtmlLink":"Auto merge of #125074 - bjorn3:sync_cg_clif-2024-05-13, r=bjorn3"}},{"before":"abb95639ef2b837dbfe7b5d18f51fadda29711cb","after":"421f7ca3a9c7ad574536666f6f0df6c7fe5e6780","ref":"refs/heads/master","pushedAt":"2024-05-13T15:29:12.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 #125061 - RalfJung:interpret-error, r=cjgillot\n\ninterpret: move error macros into error.rs","shortMessageHtmlLink":"Auto merge of #125061 - RalfJung:interpret-error, r=cjgillot"}},{"before":"6be7b0c7d2b085474f9f2f9323c2266f4df105d8","after":"abb95639ef2b837dbfe7b5d18f51fadda29711cb","ref":"refs/heads/master","pushedAt":"2024-05-13T13:23:55.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 #125024 - Oneirical:master, r=jieyouxu\n\nRewrite 3 very similar `run-make` alloc tests to rmake\n\nPart of #121876\n\n#121918 attempted to port these 3 tests 2 months ago. However, since then, the structure of `run-make-support` has changed a bit and new helper functions were added. Since there has been no activity on the PR, they are good low-hanging fruit to knock down, using the new functions of the current library.\n\nThere is also the removal of a useless import on a very similar test.","shortMessageHtmlLink":"Auto merge of #125024 - Oneirical:master, r=jieyouxu"}},{"before":"982c9c1e8148034ee523a62926ef39c84fa48fea","after":"6be7b0c7d2b085474f9f2f9323c2266f4df105d8","ref":"refs/heads/master","pushedAt":"2024-05-13T11:13:24.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 #124999 - scottmcm:unify-aggregate, r=nnethercote\n\nUnify `Rvalue::Aggregate` paths in cg_ssa\n\nIn #123840 and #123886 I added two different codepaths for `Rvalue::Aggregate` in `cg_ssa`.\n\nThis merges them into one, since raw pointers are also immediates that can be built from the immediates of their \"fields\".","shortMessageHtmlLink":"Auto merge of #124999 - scottmcm:unify-aggregate, r=nnethercote"}},{"before":"ba956ef4b00c91579cff9b2220358ee3a46d982f","after":"982c9c1e8148034ee523a62926ef39c84fa48fea","ref":"refs/heads/master","pushedAt":"2024-05-13T08:39:50.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 #125055 - nnethercote:Comment-FIXME, r=compiler-errors\n\nAvoid clone in `Comments::next`\n\n`Comments::next`, in `rustc_ast_pretty`, has this comment:\n```\n// FIXME: This shouldn't probably clone lmao\n```\nThe obvious thing to try is to return `Option<&Comment>` instead of `Option`. But that leads to multiple borrows all over the place, because `Comments` must be borrowed from `PrintState` and then processed by `&mut self` methods within `PrintState`.\n\nThis PR instead rearranges things so that comments are consumed as they are used, preserving the `Option` return type without requiring any cloning.\n\nr? `@compiler-errors`","shortMessageHtmlLink":"Auto merge of #125055 - nnethercote:Comment-FIXME, r=compiler-errors"}},{"before":"ecbe3fd550fccd2cba17ea7e86539bf3e0bfc618","after":"ba956ef4b00c91579cff9b2220358ee3a46d982f","ref":"refs/heads/master","pushedAt":"2024-05-13T02:19:34.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 #124914 - nnethercote:rm-extern-crate-rustc_middle, r=saethlin\n\nRemove `#[macro_use] extern crate rustc middle` from numerous crates\n\nBecause explicit importing of macros via `use` items is nicer (more standard and readable) than implicit importing via `#[macro_use]`. This PR mops up some cases I didn't get to in #124511.\n\nr? `@saethlin`","shortMessageHtmlLink":"Auto merge of #124914 - nnethercote:rm-extern-crate-rustc_middle, r=s…"}},{"before":"ef0027897d2e9014766fb47dce9ddbb925d2f540","after":"ecbe3fd550fccd2cba17ea7e86539bf3e0bfc618","ref":"refs/heads/master","pushedAt":"2024-05-13T00:12:29.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 #125051 - dtolnay:printletelse, r=compiler-errors\n\nPretty-print let-else with added parenthesization when needed\n\nRustc used to produce invalid syntax for the following code, which is problematic because it means we cannot apply rustfmt to the output of `-Zunpretty=expanded`.\n\n```rust\nmacro_rules! expr {\n ($e:expr) => { $e };\n}\n\nfn main() {\n let _ = expr!(loop {}) else { return; };\n}\n```\n\n```console\n$ rustc repro.rs -Zunpretty=expanded | rustfmt\nerror: `loop...else` loops are not supported\n --> :9:29\n |\n9 | fn main() { let _ = loop {} else { return; }; }\n | ---- ^^^^^^^^^^^^^^^^\n | |\n | `else` is attached to this loop\n |\n = note: consider moving this `else` clause to a separate `if` statement and use a `bool` variable to control if it should run\n```","shortMessageHtmlLink":"Auto merge of #125051 - dtolnay:printletelse, r=compiler-errors"}},{"before":"852a78ea8de3aa24c50457340d9560547bc67008","after":"ef0027897d2e9014766fb47dce9ddbb925d2f540","ref":"refs/heads/master","pushedAt":"2024-05-12T22:05:29.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 #124639 - Jules-Bertholet:match-ergonomics-2024-migration-lint, r=Nadrieril\n\nMatch ergonomics 2024: migration lint\n\nDepends on #124567\n\nr? `@Nadrieril`\n\ncc https://github.com/rust-lang/rust/issues/123076\n\n`@rustbot` label A-edition-2024 A-patterns","shortMessageHtmlLink":"Auto merge of #124639 - Jules-Bertholet:match-ergonomics-2024-migrati…"}},{"before":"d25cf6fc14cb74e9d892d2b13701dafbdf9f5cac","after":"852a78ea8de3aa24c50457340d9560547bc67008","ref":"refs/heads/master","pushedAt":"2024-05-12T19:57:45.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 #124902 - compiler-errors:mem-cat-but-better, r=lcnr\n\nFix MemCategorization and ExprUse visitors for new solver (this time it's better)\n\nBest reviewed by each commit. Supersedes #124859.\n\nr? lcnr","shortMessageHtmlLink":"Auto merge of #124902 - compiler-errors:mem-cat-but-better, r=lcnr"}},{"before":"dde8cfa597dff58e5f65f1184a83c2cc22318b6e","after":"d25cf6fc14cb74e9d892d2b13701dafbdf9f5cac","ref":"refs/heads/master","pushedAt":"2024-05-12T17:47: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 #125040 - ickk:patch-1, r=notriddle\n\nFix hidden title in rustdoc book\n\nraw html is treated as actual html by markdown, so this title needs to use some form of escaping in order to display correctly","shortMessageHtmlLink":"Auto merge of #125040 - ickk:patch-1, r=notriddle"}},{"before":"b71fa82d786ae1b5866510f1b3a7e5b7e1890e4c","after":"dde8cfa597dff58e5f65f1184a83c2cc22318b6e","ref":"refs/heads/master","pushedAt":"2024-05-12T15:39:43.000Z","pushType":"push","commitsCount":15,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #125045 - GuillaumeGomez:rollup-em6qdzw, r=GuillaumeGomez\n\nRollup of 4 pull requests\n\nSuccessful merges:\n\n - #125021 (Update reference safety requirements)\n - #125022 (Migrate rustdoc scrape examples ordering)\n - #125030 (Fix some minor issues from the ui-test auto-porting)\n - #125036 (solve: all \"non-structural\" logging to trace)\n\nr? `@ghost`\n`@rustbot` modify labels: rollup","shortMessageHtmlLink":"Auto merge of #125045 - GuillaumeGomez:rollup-em6qdzw, r=GuillaumeGomez"}},{"before":"4fd98a4b1b100f5329c6efae18031791f64372d2","after":"b71fa82d786ae1b5866510f1b3a7e5b7e1890e4c","ref":"refs/heads/master","pushedAt":"2024-05-12T13:32:34.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 #124798 - devnexen:illumos_memalign_fix, r=RalfJung\n\nstd::alloc: use posix_memalign instead of memalign on solarish\n\n`memalign` on Solarish requires the alignment to be at least the size of a pointer, which we did not honor. `posix_memalign` also requires that, but that code path already takes care of this requirement.\n\nclose GH-124787","shortMessageHtmlLink":"Auto merge of #124798 - devnexen:illumos_memalign_fix, r=RalfJung"}},{"before":"645bc609d994b6556c9aebbdd810f1d75c3e2206","after":"4fd98a4b1b100f5329c6efae18031791f64372d2","ref":"refs/heads/master","pushedAt":"2024-05-12T10:40:16.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 #125012 - RalfJung:format-error, r=Mark-Simulacrum,workingjubilee\n\nio::Write::write_fmt: panic if the formatter fails when the stream does not fail\n\nFollow-up to https://github.com/rust-lang/rust/pull/124954","shortMessageHtmlLink":"Auto merge of #125012 - RalfJung:format-error, r=Mark-Simulacrum,work…"}},{"before":"8cc6f34653505e13159d62ad9de4c7b7a43b9e39","after":"645bc609d994b6556c9aebbdd810f1d75c3e2206","ref":"refs/heads/master","pushedAt":"2024-05-12T08:33:26.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 #124883 - onur-ozkan:change-stage0-file, r=Mark-Simulacrum\n\nuse key-value format in stage0 file\n\nCurrently, we are working on the python removal task on bootstrap. Which means we have to extract some data from the stage0 file using shell scripts. However, parsing values from the stage0.json file is painful because shell scripts don't have a built-in way to parse json files.\n\nThis change simplifies the stage0 file format to key-value pairs, which makes it easily readable from any environment.\n\nSee the zulip thread for more details: https://rust-lang.zulipchat.com/#narrow/stream/326414-t-infra.2Fbootstrap/topic/Using.20different.20format.20in.20the.20stage0.20file","shortMessageHtmlLink":"Auto merge of #124883 - onur-ozkan:change-stage0-file, r=Mark-Simulacrum"}},{"before":"ee97564e3a9f9ac8c65103abb37c6aa48d95bfa2","after":"8cc6f34653505e13159d62ad9de4c7b7a43b9e39","ref":"refs/heads/master","pushedAt":"2024-05-12T06:25:14.000Z","pushType":"push","commitsCount":18,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #119427 - dtolnay:maccall, r=compiler-errors\n\nFix, document, and test parser and pretty-printer edge cases related to braced macro calls\n\n_Review note: this is a deceptively small PR because it comes with 145 lines of docs and 196 lines of tests, and only 25 lines of compiler code changed. However, I recommend reviewing it 1 commit at a time because much of the effect of the code changes is non-local i.e. affecting code that is not visible in the final state of the PR. I have paid attention that reviewing the PR one commit at a time is as easy as I can make it. All of the code you need to know about is touched in those commits, even if some of those changes disappear by the end of the stack._\n\nThis is a follow-up to https://github.com/rust-lang/rust/pull/119105. One case that is not relevant to `-Zunpretty=expanded`, but which came up as I'm porting #119105 and #118726 into `syn`'s printer and `prettyplease`'s printer where it **is** relevant, and is also relevant to rustc's `stringify!`, is statement boundaries in the vicinity of braced macro calls.\n\nRustc's AST pretty-printer produces invalid syntax for statements that begin with a braced macro call:\n\n```rust\nmacro_rules! stringify_item {\n ($i:item) => {\n stringify!($i)\n };\n}\n\nmacro_rules! repro {\n ($e:expr) => {\n stringify_item!(fn main() { $e + 1; })\n };\n}\n\nfn main() {\n println!(\"{}\", repro!(m! {}));\n}\n```\n\n**Before this PR:** output is not valid Rust syntax.\n\n```console\nfn main() { m! {} + 1; }\n```\n\n```console\nerror: leading `+` is not supported\n --> :1:19\n |\n1 | fn main() { m! {} + 1; }\n | ^ unexpected `+`\n |\nhelp: try removing the `+`\n |\n1 - fn main() { m! {} + 1; }\n1 + fn main() { m! {} 1; }\n |\n```\n\n**After this PR:** valid syntax.\n\n```console\nfn main() { (m! {}) + 1; }\n```","shortMessageHtmlLink":"Auto merge of #119427 - dtolnay:maccall, r=compiler-errors"}},{"before":"8b64adc8cdf08f927d01bf9b02cc493ca5bcb5a1","after":"ee97564e3a9f9ac8c65103abb37c6aa48d95bfa2","ref":"refs/heads/master","pushedAt":"2024-05-12T04:17:14.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 #125001 - compiler-errors:uplift-trait-predicate, r=lcnr\n\nUplift various `*Predicate` types into `rustc_type_ir`\n\nUplifts `ProjectionPredicate`, `ExistentialTraitRef`, `ExistentialProjection`, `TraitPredicate`, `NormalizesTo`, `CoercePredicate`, and `SubtypePredicate`.\n\nAdds `rustc_type_ir_macros`, which semi-duplicates the derive for `TypeVisitable`, `TypeFoldable`, and `Lift`, but in a way that is interner-agnostic.\n\nMoves `rustc_type_ir::trait_ref` to `rustc_type_ir::predicate`. The specific placement of all these structs doesn't matter b/c of glob imports, tho.","shortMessageHtmlLink":"Auto merge of #125001 - compiler-errors:uplift-trait-predicate, r=lcnr"}},{"before":"fe03fb95695059809e75283cf84ad4c88e0ee656","after":"8b64adc8cdf08f927d01bf9b02cc493ca5bcb5a1","ref":"refs/heads/master","pushedAt":"2024-05-12T02:11:11.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 #124153 - scottmcm:more-placevalue, r=saethlin\n\nRefactoring after the `PlaceValue` addition\n\nI added [`PlaceValue`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_codegen_ssa/mir/place/struct.PlaceValue.html) in #123775, but kept that one line-by-line simple because it touched so many places.\n\nThis goes through to add more helpers & docs, and change some `PlaceRef` to `PlaceValue` where the type didn't need to be included.\n\nNo behaviour changes -- the codegen is exactly the same.","shortMessageHtmlLink":"Auto merge of #124153 - scottmcm:more-placevalue, r=saethlin"}},{"before":null,"after":"d560561e0d8eb1ede123bb97f618e1d0c7cb9a4a","ref":"refs/heads/cargo_update","pushedAt":"2024-05-12T00:17:05.000Z","pushType":"branch_creation","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 1 package to latest compatible version\n Updating syn v2.0.62 -> v2.0.63\nnote: pass `--verbose` to see 95 unchanged dependencies behind latest","shortMessageHtmlLink":"cargo update"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAESh4xtwA","startCursor":null,"endCursor":null}},"title":"Activity · rust-lang/rust"}