Skip to content

Commit a61963a

Browse files
Ariel Ben-Yehudaarielb1
Ariel Ben-Yehuda
authored andcommitted
TODO -> FIXME
1 parent ae919d0 commit a61963a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc_mir/build/scope.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ impl<'a,'tcx> Builder<'a,'tcx> {
418418
len: Operand<'tcx>,
419419
span: Span) {
420420
// fn(&(filename: &'static str, line: u32), index: usize, length: usize) -> !
421-
let region = ty::ReStatic; // TODO(mir-borrowck): use a better region?
421+
let region = ty::ReStatic; // FIXME(mir-borrowck): use a better region?
422422
let func = self.lang_function(lang_items::PanicBoundsCheckFnLangItem);
423423
let args = self.hir.tcx().replace_late_bound_regions(&func.ty.fn_args(), |_| region).0;
424424

@@ -452,7 +452,7 @@ impl<'a,'tcx> Builder<'a,'tcx> {
452452
/// Create diverge cleanup and branch to it from `block`.
453453
pub fn panic(&mut self, block: BasicBlock, msg: &'static str, span: Span) {
454454
// fn(&(msg: &'static str filename: &'static str, line: u32)) -> !
455-
let region = ty::ReStatic; // TODO(mir-borrowck): use a better region?
455+
let region = ty::ReStatic; // FIXME(mir-borrowck): use a better region?
456456
let func = self.lang_function(lang_items::PanicFnLangItem);
457457
let args = self.hir.tcx().replace_late_bound_regions(&func.ty.fn_args(), |_| region).0;
458458

0 commit comments

Comments
 (0)