Skip to content

[pull] master from rust-lang:master#128

Merged
pull[bot] merged 9 commits into
asukaminato0721:masterfrom
rust-lang:master
Jul 11, 2026
Merged

[pull] master from rust-lang:master#128
pull[bot] merged 9 commits into
asukaminato0721:masterfrom
rust-lang:master

Conversation

@pull

@pull pull Bot commented Jul 11, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

A4-Tacks and others added 9 commits July 7, 2026 23:47
Example
---
```diff
-typeT = $0 whereSelf:Sized;
+type T = $0 where Self: Sized;
```
Example
---
```rust
trait A<T: ?Sized> { fn a(&self) -> &T; }
trait B {}
impl<'a, T: B> A<dyn 'a + B> for T {$0}
```

**Before this PR**

```rust
impl<'a, T: B> A<dyn 'a + B> for T {
    fn a(&self) -> &dyn 'a + B {
                 // ^^^^^^^^^^ ambiguous `+` in a type
        ${0:todo!()}
    }
}
```

**After this PR**

```rust
impl<'a, T: B> A<dyn 'a + B> for T {
    fn a(&self) -> &(dyn 'a + B) {
        ${0:todo!()}
    }
}
```
fix: add parens in transformed dyn type in ref type
internal: Use expression parsing entrypoint in `make` constructor
fix: pretty assoc const when trait in macro
@pull pull Bot locked and limited conversation to collaborators Jul 11, 2026
@pull pull Bot added the ⤵️ pull label Jul 11, 2026
@pull
pull Bot merged commit cecae47 into asukaminato0721:master Jul 11, 2026
11 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants