diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-11-07 18:21:11 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-11-07 18:21:11 +0000 |
commit | dac70603821c3f4785a285e837b220addb16d13b (patch) | |
tree | a0adc6df6a84b57bcba97fd1835a2da8020f5258 /xtask | |
parent | f3fe6561c00a07a7d6131db42983cbc3eb658957 (diff) | |
parent | 19443c1fa30e5a360c84f82d0b7aac733ea2e240 (diff) |
Merge #6476
6476: Add missing AssocItems in add_custom_impl assist r=matklad a=Veykril
```rust
use std::fmt;
#[derive(Debu<|>g)]
struct Foo {
bar: String,
}
```
->
```rust
use std::fmt;
struct Foo {
bar: String,
}
impl fmt::Debug for Foo {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
${0:todo!()}
}
}
```
Co-authored-by: Lukas Wirth <[email protected]>
Diffstat (limited to 'xtask')
-rw-r--r-- | xtask/tests/tidy.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xtask/tests/tidy.rs b/xtask/tests/tidy.rs index 9de60c76c..4c7db8405 100644 --- a/xtask/tests/tidy.rs +++ b/xtask/tests/tidy.rs | |||
@@ -215,6 +215,7 @@ fn check_todo(path: &Path, text: &str) { | |||
215 | "tests/cli.rs", | 215 | "tests/cli.rs", |
216 | // Some of our assists generate `todo!()`. | 216 | // Some of our assists generate `todo!()`. |
217 | "tests/generated.rs", | 217 | "tests/generated.rs", |
218 | "handlers/add_custom_impl.rs", | ||
218 | "handlers/add_missing_impl_members.rs", | 219 | "handlers/add_missing_impl_members.rs", |
219 | "handlers/add_turbo_fish.rs", | 220 | "handlers/add_turbo_fish.rs", |
220 | "handlers/generate_function.rs", | 221 | "handlers/generate_function.rs", |