Report infer ty errors during hir ty lowering
This centralizes the placeholder type error reporting in one location, but it also exposes the granularity at which we convert things from hir to ty more. E.g. previously infer types in where bounds were errored together with the function signature, but now they are independent.
This commit is contained in:
@@ -231,7 +231,6 @@ fn check_item<'tcx>(tcx: TyCtxt<'tcx>, item: &'tcx hir::Item<'tcx>) -> Result<()
|
||||
item.name = ? tcx.def_path_str(def_id)
|
||||
);
|
||||
crate::collect::lower_item(tcx, item.item_id());
|
||||
crate::collect::reject_placeholder_type_signatures_in_item(tcx, item);
|
||||
|
||||
let res = match item.kind {
|
||||
// Right now we check that every default trait implementation
|
||||
|
||||
Reference in New Issue
Block a user