rustc: Stamp out XXXes in middle (comments only)

This commit is contained in:
Tim Chevalier 2013-01-31 19:48:43 -08:00
parent e0281d991c
commit 2db3175c76
4 changed files with 7 additions and 6 deletions

View File

@ -33,7 +33,7 @@ mutability M_L, and a lifetime L_L where:
- immutable/mutable: the data cannot be moved or mutated
- The lifetime L_L indicates the *scope* of the loan.
XXX --- much more needed, don't have time to write this all up now
FIXME #4730 --- much more needed, don't have time to write this all up now
*/

View File

@ -516,7 +516,7 @@ pub fn specialize(cx: @MatchCheckCtxt,
}
def_variant(_, _) => None,
def_struct(*) => {
// XXX: Is this right? --pcw
// FIXME #4731: Is this right? --pcw
let new_args;
match args {
Some(args) => new_args = args,
@ -545,7 +545,7 @@ pub fn specialize(cx: @MatchCheckCtxt,
match cx.tcx.def_map.get(pat_id) {
def_variant(_, variant_id) => {
if variant(variant_id) == ctor_id {
// XXX: Is this right? --pcw
// FIXME #4731: Is this right? --pcw
let args = flds.map(|ty_field| {
match flds.find(|f|
f.ident == ty_field.ident) {

View File

@ -1754,7 +1754,8 @@ impl @Liveness {
// used by ExitNode would be arguments or fields in a ctor.
// we give a slightly different error message in those cases.
if lnk == ExitNode {
// XXX this seems like it should be reported in the borrow checker
// FIXME #4715: this seems like it should be reported in the
// borrow checker
let vk = self.ir.var_kinds[*var];
match vk {
Arg(_, name, _) => {

View File

@ -131,7 +131,7 @@ pub fn check_crate(tcx: ty::ctxt,
}
}
} else {
// XXX: External crates.
// FIXME #4732: External crates.
}
}
method_param(method_param {
@ -195,7 +195,7 @@ pub fn check_crate(tcx: ty::ctxt,
}
}
} else {
// XXX: External crates.
// FIXME #4732: External crates.
}
}
}