Replace &Vec<_>
s with &[_]
s
This commit is contained in:
parent
e40d5e83dc
commit
afaa9854fa
14 changed files with 53 additions and 45 deletions
|
@ -352,7 +352,7 @@ pub fn same_type_modulo_infer<'tcx>(a: Ty<'tcx>, b: Ty<'tcx>) -> bool {
|
|||
}
|
||||
|
||||
impl<'a, 'tcx> InferCtxt<'a, 'tcx> {
|
||||
pub fn report_region_errors(&self, errors: &Vec<RegionResolutionError<'tcx>>) {
|
||||
pub fn report_region_errors(&self, errors: &[RegionResolutionError<'tcx>]) {
|
||||
debug!("report_region_errors(): {} errors to start", errors.len());
|
||||
|
||||
// try to pre-process the errors, which will group some of them
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue