We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d18966a commit 8d7b517Copy full SHA for 8d7b517
1 file changed
crates/hir-ty/src/next_solver/interner.rs
@@ -2360,22 +2360,6 @@ impl<'db> DbInterner<'db> {
2360
abi,
2361
}
2362
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
2379
2380
2381
fn predicates_of(db: &dyn HirDatabase, def_id: SolverDefId) -> &GenericPredicates {
0 commit comments