Skip to content

Commit 2db3175

Browse files
committed
rustc: Stamp out XXXes in middle (comments only)
1 parent e0281d9 commit 2db3175

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

src/librustc/middle/borrowck/loan.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ mutability M_L, and a lifetime L_L where:
3333
- immutable/mutable: the data cannot be moved or mutated
3434
- The lifetime L_L indicates the *scope* of the loan.
3535
36-
XXX --- much more needed, don't have time to write this all up now
36+
FIXME #4730 --- much more needed, don't have time to write this all up now
3737
3838
*/
3939

src/librustc/middle/check_match.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ pub fn specialize(cx: @MatchCheckCtxt,
516516
}
517517
def_variant(_, _) => None,
518518
def_struct(*) => {
519-
// XXX: Is this right? --pcw
519+
// FIXME #4731: Is this right? --pcw
520520
let new_args;
521521
match args {
522522
Some(args) => new_args = args,
@@ -545,7 +545,7 @@ pub fn specialize(cx: @MatchCheckCtxt,
545545
match cx.tcx.def_map.get(pat_id) {
546546
def_variant(_, variant_id) => {
547547
if variant(variant_id) == ctor_id {
548-
// XXX: Is this right? --pcw
548+
// FIXME #4731: Is this right? --pcw
549549
let args = flds.map(|ty_field| {
550550
match flds.find(|f|
551551
f.ident == ty_field.ident) {

src/librustc/middle/liveness.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1754,7 +1754,8 @@ impl @Liveness {
17541754
// used by ExitNode would be arguments or fields in a ctor.
17551755
// we give a slightly different error message in those cases.
17561756
if lnk == ExitNode {
1757-
// XXX this seems like it should be reported in the borrow checker
1757+
// FIXME #4715: this seems like it should be reported in the
1758+
// borrow checker
17581759
let vk = self.ir.var_kinds[*var];
17591760
match vk {
17601761
Arg(_, name, _) => {

src/librustc/middle/privacy.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ pub fn check_crate(tcx: ty::ctxt,
131131
}
132132
}
133133
} else {
134-
// XXX: External crates.
134+
// FIXME #4732: External crates.
135135
}
136136
}
137137
method_param(method_param {
@@ -195,7 +195,7 @@ pub fn check_crate(tcx: ty::ctxt,
195195
}
196196
}
197197
} else {
198-
// XXX: External crates.
198+
// FIXME #4732: External crates.
199199
}
200200
}
201201
}

0 commit comments

Comments
 (0)