File tree Expand file tree Collapse file tree 2 files changed +3
-24
lines changed Expand file tree Collapse file tree 2 files changed +3
-24
lines changed Original file line number Diff line number Diff line change @@ -241,30 +241,8 @@ impl<C: Context> Forest<C> {
241
241
table_idx : TableIndex ,
242
242
goal : C :: UCanonicalGoalInEnvironment ,
243
243
) -> Table < C > {
244
- // Instantiate the table goal with fresh inference variables.
245
- let table = Table :: < C > :: new ( goal. clone ( ) , context. is_coinductive ( & goal) ) ;
246
- let table_goal = table. table_goal . clone ( ) ;
247
- let ( infer, subst, environment, goal) = context. instantiate_ucanonical_goal ( & table_goal) ;
248
- Self :: push_initial_strands_instantiated (
249
- context,
250
- table_idx,
251
- table,
252
- infer,
253
- subst,
254
- environment,
255
- goal,
256
- )
257
- }
258
-
259
- fn push_initial_strands_instantiated (
260
- context : & impl ContextOps < C > ,
261
- table_idx : TableIndex ,
262
- mut table : Table < C > ,
263
- mut infer : C :: InferenceTable ,
264
- subst : C :: Substitution ,
265
- environment : C :: Environment ,
266
- goal : C :: Goal ,
267
- ) -> Table < C > {
244
+ let mut table = Table :: new ( goal. clone ( ) , context. is_coinductive ( & goal) ) ;
245
+ let ( mut infer, subst, environment, goal) = context. instantiate_ucanonical_goal ( & goal) ;
268
246
match context. into_hh_goal ( goal) {
269
247
HhGoal :: DomainGoal ( domain_goal) => {
270
248
match context. program_clauses ( & environment, & domain_goal, & mut infer) {
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ struct MockDatabase {
31
31
/// struct Foo { }
32
32
/// trait Bar { }
33
33
/// impl Bar for Foo { }
34
+ // FIXME: Check if items returned from functions of this struct can be simplified
34
35
#[ allow( unused_variables) ]
35
36
impl RustIrDatabase < ChalkIr > for MockDatabase {
36
37
fn custom_clauses ( & self ) -> Vec < ProgramClause < ChalkIr > > {
You can’t perform that action at this time.
0 commit comments