We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9724af0 commit 532be0eCopy full SHA for 532be0e
crates/assists/src/handlers/add_missing_impl_members.rs
@@ -313,6 +313,25 @@ impl Foo for S {
313
);
314
}
315
316
+ #[test]
317
+ fn test_impl_def_without_braces() {
318
+ check_assist(
319
+ add_missing_impl_members,
320
+ r#"
321
+trait Foo { fn foo(&self); }
322
+struct S;
323
+impl Foo for S<|>"#,
324
325
326
327
+impl Foo for S {
328
+ fn foo(&self) {
329
+ ${0:todo!()}
330
+ }
331
+}"#,
332
+ );
333
334
+
335
#[test]
336
fn fill_in_type_params_1() {
337
check_assist(
0 commit comments