Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing AssocItems in add_custom_impl assist #6476

Merged
merged 1 commit into from
Nov 7, 2020

Conversation

Veykril
Copy link
Member

@Veykril Veykril commented Nov 5, 2020

use std::fmt;

#[derive(Debu<|>g)]
struct Foo {
    bar: String,
}

->

use std::fmt;

struct Foo {
    bar: String,
}

impl fmt::Debug for Foo {
    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
        ${0:todo!()}
    }
}

@matklad
Copy link
Member

matklad commented Nov 7, 2020

Nice, I've wanted this for ages!

bors r+

@bors
Copy link
Contributor

bors bot commented Nov 7, 2020

@bors bors bot merged commit dac7060 into rust-lang:master Nov 7, 2020
@Veykril Veykril deleted the custom-impl branch November 27, 2020 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants