Get rid of some NOTEs.
This commit is contained in:
@@ -11,7 +11,6 @@
|
|||||||
#[crate_type = "bin"];
|
#[crate_type = "bin"];
|
||||||
|
|
||||||
#[allow(non_camel_case_types)];
|
#[allow(non_camel_case_types)];
|
||||||
#[allow(unrecognized_lint)]; // NOTE: remove after snapshot
|
|
||||||
#[deny(warnings)];
|
#[deny(warnings)];
|
||||||
|
|
||||||
extern mod extra;
|
extern mod extra;
|
||||||
|
|||||||
@@ -225,7 +225,7 @@ impl CFGBuilder {
|
|||||||
// Note that `break` and `loop` statements
|
// Note that `break` and `loop` statements
|
||||||
// may cause additional edges.
|
// may cause additional edges.
|
||||||
|
|
||||||
// NOTE: Is the condition considered part of the loop?
|
// Is the condition considered part of the loop?
|
||||||
let loopback = self.add_dummy_node([pred]); // 1
|
let loopback = self.add_dummy_node([pred]); // 1
|
||||||
let cond_exit = self.expr(cond, loopback); // 2
|
let cond_exit = self.expr(cond, loopback); // 2
|
||||||
let expr_exit = self.add_node(expr.id, [cond_exit]); // 3
|
let expr_exit = self.add_node(expr.id, [cond_exit]); // 3
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
//! Some various other I/O types
|
//! Some various other I/O types
|
||||||
|
|
||||||
// NOTE: These ultimately belong somewhere else
|
// FIXME(#3660): should move to libextra
|
||||||
|
|
||||||
use prelude::*;
|
use prelude::*;
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|||||||
Reference in New Issue
Block a user