Infer FnSig from Fn traits

This commit is contained in:
adamrk
2020-06-07 21:57:29 +02:00
parent 6654055308
commit 3f94a90c7b
5 changed files with 197 additions and 18 deletions

View File

@@ -14,7 +14,7 @@ use super::{Canonical, GenericPredicate, HirDisplay, ProjectionTy, TraitRef, Ty,
use self::chalk::{from_chalk, Interner, ToChalk};
pub(crate) mod chalk;
mod builtin;
pub(crate) mod builtin;
// This controls the maximum size of types Chalk considers. If we set this too
// high, we can run into slow edge cases; if we set it too low, Chalk won't