@@ -38,8 +38,7 @@ impl AssistInfo {
3838
3939 pub ( crate ) fn into_resolved ( self ) -> Option < ResolvedAssist > {
4040 let label = self . label ;
41- let group_label = self . group_label ;
42- self . action . map ( |action| ResolvedAssist { label, group_label, action } )
41+ self . action . map ( |action| ResolvedAssist { label, action } )
4342 }
4443}
4544
@@ -100,7 +99,7 @@ impl<'a> AssistCtx<'a> {
10099 label : impl Into < String > ,
101100 f : impl FnOnce ( & mut ActionBuilder ) ,
102101 ) -> Option < Assist > {
103- let label = AssistLabel :: new ( id, label. into ( ) ) ;
102+ let label = AssistLabel :: new ( id, label. into ( ) , None ) ;
104103
105104 let mut info = AssistInfo :: new ( label) ;
106105 if self . should_compute_edit {
@@ -158,7 +157,7 @@ impl<'a> AssistGroup<'a> {
158157 label : impl Into < String > ,
159158 f : impl FnOnce ( & mut ActionBuilder ) ,
160159 ) {
161- let label = AssistLabel :: new ( id, label. into ( ) ) ;
160+ let label = AssistLabel :: new ( id, label. into ( ) , Some ( self . group . clone ( ) ) ) ;
162161
163162 let mut info = AssistInfo :: new ( label) . with_group ( self . group . clone ( ) ) ;
164163 if self . ctx . should_compute_edit {
0 commit comments