Report type mismatches in analysis-stats

Only the number usually; each one individually when running with -v.
This commit is contained in:
Florian Diebold 2019-08-25 19:28:32 +02:00
parent 6ecb36740a
commit a7858bb7bf
3 changed files with 44 additions and 8 deletions

View file

@ -617,7 +617,7 @@ impl Function {
self.data(db).name.clone()
}
pub(crate) fn body_source_map(self, db: &impl HirDatabase) -> Arc<BodySourceMap> {
pub fn body_source_map(self, db: &impl HirDatabase) -> Arc<BodySourceMap> {
db.body_with_source_map(self.into()).1
}