Move a FIXME around
This commit is contained in:
parent
66b8a12a6d
commit
098d6f0597
2 changed files with 2 additions and 2 deletions
|
@ -86,8 +86,6 @@ impl FlagComputation {
|
|||
}
|
||||
|
||||
&ty::TyGenerator(_, ref substs, ref interior) => {
|
||||
// FIXME: Find out why TyClosure has HAS_TY_CLOSURE
|
||||
// and see if the same reason applies here
|
||||
self.add_flags(TypeFlags::HAS_TY_CLOSURE);
|
||||
self.add_flags(TypeFlags::HAS_LOCAL_NAMES);
|
||||
self.add_substs(&substs.substs);
|
||||
|
|
|
@ -406,6 +406,8 @@ bitflags! {
|
|||
const HAS_FREE_REGIONS = 1 << 6,
|
||||
const HAS_TY_ERR = 1 << 7,
|
||||
const HAS_PROJECTION = 1 << 8,
|
||||
|
||||
// FIXME: Rename this to the actual property since it's used for generators too
|
||||
const HAS_TY_CLOSURE = 1 << 9,
|
||||
|
||||
// true if there are "names" of types and regions and so forth
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue