Skip to content

minor: offer without bound list for replace_named_generic_with_impl#22147

Open
A4-Tacks wants to merge 1 commit intorust-lang:masterfrom
A4-Tacks:named-gen-with-impl-empty
Open

minor: offer without bound list for replace_named_generic_with_impl#22147
A4-Tacks wants to merge 1 commit intorust-lang:masterfrom
A4-Tacks:named-gen-with-impl-empty

Conversation

@A4-Tacks
Copy link
Copy Markdown
Member

Example

fn foo<T$0>(input: T) {}

Before this PR

Assist not applicable

After this PR

fn foo(input: impl Sized) {}

Example
---
```rust
fn foo<T$0>(input: T) {}
```

**Before this PR**

Assist not applicable

**After this PR**

```rust
fn foo(input: impl Sized) {}
```
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants