ty.flags -> ty.flags()
This commit is contained in:
parent
085e417087
commit
4d28a82c59
8 changed files with 23 additions and 11 deletions
|
@ -708,7 +708,7 @@ where
|
|||
|
||||
fn visit_ty(&mut self, ty: Ty<'tcx>) -> bool {
|
||||
// We're only interested in types involving regions
|
||||
if !ty.flags.intersects(ty::TypeFlags::HAS_FREE_REGIONS) {
|
||||
if !ty.flags().intersects(ty::TypeFlags::HAS_FREE_REGIONS) {
|
||||
return false; // keep visiting
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue