Comments only: annotate FIXMEs in reflect
This commit is contained in:
parent
1642df8efa
commit
c6462eec30
1 changed files with 2 additions and 1 deletions
|
|
@ -156,6 +156,7 @@ impl methods for reflector {
|
|||
}
|
||||
|
||||
// FIXME: fetch constants out of intrinsic:: for the numbers.
|
||||
// (#2594)
|
||||
ty::ty_fn(fty) {
|
||||
let pureval = alt fty.purity {
|
||||
ast::pure_fn { 0u }
|
||||
|
|
@ -217,7 +218,7 @@ impl methods for reflector {
|
|||
// FIXME: visiting all the variants in turn is probably
|
||||
// not ideal. It'll work but will get costly on big enums.
|
||||
// Maybe let the visitor tell us if it wants to visit only
|
||||
// a particular variant?
|
||||
// a particular variant? (#2595)
|
||||
ty::ty_enum(did, substs) {
|
||||
let bcx = self.bcx;
|
||||
let tcx = bcx.ccx().tcx;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue