refactor the BorrowckErrors
trait to take fn(self)
#48902
Merged
BorrowckErrors
trait to take fn(self)
#48902