Closed
Conversation
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.21 to 4.17.23. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.17.21...4.17.23) --- updated-dependencies: - dependency-name: lodash dependency-version: 4.17.23 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]>
Example
---
```rust
prt!{abc!$0(3 + 5)};
```
**Before this PR**
Assist not applicable
**After this PR**
```rust
prt!{abc!{3 + 5}};
```
Remove `#[serde(default)]` from optional fields. Fields of type `Option` are automatically deserialized to `None` when the corresponding keys are missing in `rust-project.json`, making the explicit attribute redundant.
Mark `cfg`, `env`, and `is_proc_macro` fields optional to match the corresponding data structure, `project_json::CrateData`.
Example
---
```rust
fn main() {
match 2 {
bar => bar.$0
}
}
```
->
```rust
fn main() {
match 2 {
bar => {
let $1 = bar;
$0
}
}
}
```
Example
---
```rust
fn main() {
&baz.l$0
}
```
**Before this PR**
```text
sn if if expr {}
sn match match expr {}
```
**After this PR**
```text
sn if if expr {}
sn let let
sn letm let mut
sn match match expr {}
```
….e. `T::AssocType` without specifying the trait I believe the new code is both cleaner and more robust, and should fix some edge cases. rustc does all of this very differently with plenty of queries for various forms of predicate lowering; but we have tight memory constraints so we prefer a different approach.
Example
---
```rust
fn foo(bar: u32) {}
fn bar((a, bar$0)) {}
```
**Before this PR**
```rust
fn foo(bar: u32) {}
fn bar(bar: u32)) {}
```
**After this PR**
Not complete `bar: u32`
…g to `Self` I.e. `PartialEq` and `PartialOrd`.
Example
---
```rust
//- /mac.rs crate:mac
pub fn my_derive() {}
//- /lib.rs crate:lib deps:mac
pub struct Foo(#[$0] i32);
```
**Before this PR**
```text
...
at must_use
at no_mangle
...
```
**After this PR**
```text
...
at must_use
at my_cool_helper_attribute derive helper of `MyDerive`
at no_mangle
...
```
…ing-cycles internal: Refactor handling of associated type shorthand for type parameters, i.e. `T::AssocType` without specifying the trait
Without `unsafe` on this block, this feature didn't compile.
fix: Ensure cpu_profiler feature compiles on Rust edition 2024
…erive fix: Fix predicates of builtin derive traits with two parameters defaulting to `Self`
fix: complete derive helpers on empty nameref
…-pat fix: no complete suggest param in complex pattern
fix: complete `.let` on block tail prefix expression
…-call internal: remove redundant double call in postfix
…r=Kobzol Enable autodiff in ci for all major os *[View all comments](https://triagebot.infra.rust-lang.org/gh-comments/rust-lang/rust/pull/152768)* Follow-up attempt to rust-lang#140064 after moving autodiff to dlopen. It covers Linux (x86_64+aarch64), MacOS (aarch64), Windows (mingw-llvm aarch64+x86_64) The extra build time for Enzyme are 180.27s on our slowest runner (aarch64-apple). The follow-up distribution via rustup probably still needs a small fix, see rust-lang#151063 (comment) Placing the downloaded libEnzyme artifact on my local linux under `~/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib` enables my nightly compiler to run autodiff. r? @Kobzol closes: rust-lang#140064 closes: rust-lang#151243 closes: rust-lang#151063
Reflection TypeId::trait_info_of *[View all comments](https://triagebot.infra.rust-lang.org/gh-comments/rust-lang/rust/pull/152003)* This is for rust-lang#146922. As rust-lang#151236 was requested to be remade by someone I implemented the functionality as `TypeId::trait_info_of` which additionally allows getting the vtable pointer to build `dyn` Objects in recursive reflection. It allows checking if a TypeId implements a trait. Since this is my first PR feel free to tell me if there are any formal issues.
…donszelmann Port `#[register_tool]` to the new attribute system For rust-lang#131229 (comment) Rebase of rust-lang#146702 r? @jdonszelmann
…flow_checks, r=jdonszelmann Port `#[rustc_inherit_overflow_checks]` to the new attribute parsers For rust-lang#131229 (comment) r? @jdonszelmann
…ivooeo fix interpreter tracing output rust-lang#144708 accidentally changed the output of `MIRI_LOG=info <miri run>` in two ways: - by adding `stmt=`/`terminator=` prefixes - by changing the statement printing to be a verbose debug version instead of MIR pretty-printing This fixes both of these: - use explicit format strings to avoid the prefixes - fix inconsistency in Debug impls for MIR types: now both TerminatorKind and StatementKind are pretty-printed, and Terminator and Statement just forward to the *Kind output
Member
Author
|
@bors r+ rollup=never p=5 |
Contributor
Merged
This comment has been minimized.
This comment has been minimized.
rust-bors bot
pushed a commit
that referenced
this pull request
Feb 23, 2026
Rollup of 6 pull requests Successful merges: - #153007 (`rust-analyzer` subtree update) - #152768 (Enable autodiff in ci for all major os) - #152003 (Reflection TypeId::trait_info_of) - #152988 (Port `#[register_tool]` to the new attribute system) - #152989 (Port `#[rustc_inherit_overflow_checks]` to the new attribute parsers) - #152991 (fix interpreter tracing output)
Contributor
|
💔 Test for 4cd4701 failed: CI. Failed job:
|
Collaborator
|
The job Click to see the possible cause of the failure (guessed by this bot) |
Contributor
|
Spurious. Closed in favour of #153026 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Successful merges:
rust-analyzersubtree update #153007 (rust-analyzersubtree update)#[register_tool]to the new attribute system #152988 (Port#[register_tool]to the new attribute system)#[rustc_inherit_overflow_checks]to the new attribute parsers #152989 (Port#[rustc_inherit_overflow_checks]to the new attribute parsers)r? @ghost
Create a similar rollup