ty.flags -> ty.flags()
This commit is contained in:
parent
085e417087
commit
4d28a82c59
8 changed files with 23 additions and 11 deletions
|
@ -418,7 +418,7 @@ impl<'cx, 'tcx> TypeFolder<'tcx> for Canonicalizer<'cx, 'tcx> {
|
|||
| ty::Foreign(..)
|
||||
| ty::Param(..)
|
||||
| ty::Opaque(..) => {
|
||||
if t.flags.intersects(self.needs_canonical_flags) {
|
||||
if t.flags().intersects(self.needs_canonical_flags) {
|
||||
t.super_fold_with(self)
|
||||
} else {
|
||||
t
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue