Skip to content

Commit 8d7b517

Browse files
committed
Drop unused function
1 parent d18966a commit 8d7b517

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

crates/hir-ty/src/next_solver/interner.rs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2360,22 +2360,6 @@ impl<'db> DbInterner<'db> {
23602360
abi,
23612361
}
23622362
}
2363-
2364-
/// `mk_fn_sig`, but with a safe Rust ABI, and no C-variadic argument.
2365-
pub fn mk_fn_sig_safe_rust_abi<I>(self, inputs: I, output: Ty<'db>) -> FnSig<'db>
2366-
where
2367-
I: IntoIterator<Item = Ty<'db>>,
2368-
{
2369-
FnSig {
2370-
inputs_and_output: Tys::new_from_iter(
2371-
self,
2372-
inputs.into_iter().chain(std::iter::once(output)),
2373-
),
2374-
c_variadic: false,
2375-
safety: Safety::Safe,
2376-
abi: FnAbi::Rust,
2377-
}
2378-
}
23792363
}
23802364

23812365
fn predicates_of(db: &dyn HirDatabase, def_id: SolverDefId) -> &GenericPredicates {

0 commit comments

Comments
 (0)