Fix dogfood after MatchTypeOnDiagItem
This commit is contained in:
parent
8afa7ed6ae
commit
332c2dcb4d
3 changed files with 4 additions and 4 deletions
|
|
@ -1808,7 +1808,7 @@ fn lint_or_fun_call<'tcx>(
|
|||
_ => (),
|
||||
}
|
||||
|
||||
if match_type(cx, ty, &paths::VEC) {
|
||||
if is_type_diagnostic_item(cx, ty, sym!(vec_type)) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue