mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 12:13:43 +00:00
rustc: Stamp out XXXes in middle (comments only)
This commit is contained in:
parent
e0281d991c
commit
2db3175c76
@ -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
|
||||
|
||||
*/
|
||||
|
||||
|
@ -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) {
|
||||
|
@ -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, _) => {
|
||||
|
@ -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.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user