Get rid of some NOTEs.
This commit is contained in:
parent
fd01031f3a
commit
7dbc5ae79f
3 changed files with 2 additions and 3 deletions
|
|
@ -11,7 +11,6 @@
|
|||
#[crate_type = "bin"];
|
||||
|
||||
#[allow(non_camel_case_types)];
|
||||
#[allow(unrecognized_lint)]; // NOTE: remove after snapshot
|
||||
#[deny(warnings)];
|
||||
|
||||
extern mod extra;
|
||||
|
|
|
|||
|
|
@ -225,7 +225,7 @@ impl CFGBuilder {
|
|||
// Note that `break` and `loop` statements
|
||||
// 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 cond_exit = self.expr(cond, loopback); // 2
|
||||
let expr_exit = self.add_node(expr.id, [cond_exit]); // 3
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
//! Some various other I/O types
|
||||
|
||||
// NOTE: These ultimately belong somewhere else
|
||||
// FIXME(#3660): should move to libextra
|
||||
|
||||
use prelude::*;
|
||||
use super::*;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue