File tree Expand file tree Collapse file tree
libs/@local/hashql/ast/src/lower/expander Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ where
146146
147147 {
148148 let diagnostics = & mut expander. diagnostics ;
149- expander. scratch . scoped ( |scratch| {
149+ expander. scratch . scoped_mut ( |scratch| {
150150 let mut seen = fast_hash_map_with_capacity_in ( generics. params . len ( ) , scratch) ;
151151
152152 generics. params . retain ( |param| {
@@ -207,7 +207,7 @@ where
207207
208208 {
209209 let diagnostics = & mut expander. diagnostics ;
210- expander. scratch . scoped ( |scratch| {
210+ expander. scratch . scoped_mut ( |scratch| {
211211 let mut seen = fast_hash_map_with_capacity_in ( params. len ( ) , scratch) ;
212212
213213 params. retain ( |param| {
Original file line number Diff line number Diff line change @@ -311,7 +311,7 @@ where
311311 {
312312 // Generic constraints _may_ be recursive. To allow for that we must put the name of the
313313 // ident into view before we do anything
314- let constraints = expander. scratch . scoped ( |scratch| {
314+ let constraints = expander. scratch . scoped_mut ( |scratch| {
315315 path_arguments_to_constraints_unvalidated (
316316 expander. heap ,
317317 scratch,
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ where
155155
156156 if let Some ( UseKind :: Named ( bindings) ) = & mut imports {
157157 let diagnostics = & mut expander. diagnostics ;
158- expander. scratch . scoped ( |scratch| {
158+ expander. scratch . scoped_mut ( |scratch| {
159159 let mut seen = fast_hash_map_with_capacity_in ( bindings. len ( ) , scratch) ;
160160
161161 bindings. retain ( |binding| {
You can’t perform that action at this time.
0 commit comments