Skip to content

Commit 8efe616

Browse files
committed
---
yaml --- r: 30589 b: refs/heads/incoming c: 2d11a04 h: refs/heads/master i: 30587: feee833 v: v3
1 parent 441d4d1 commit 8efe616

File tree

6 files changed

+3
-10
lines changed

6 files changed

+3
-10
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df
9-
refs/heads/incoming: c755449fd6c10bf0b7850788b9faf6799ef7e38d
9+
refs/heads/incoming: 2d11a04e742410561f392801d29d622867e105b8
1010
refs/heads/dist-snap: 2f32a1581f522e524009138b33b1c7049ced668d
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/incoming/src/libsyntax/ast.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -642,16 +642,14 @@ type field_ = {mutbl: mutability, ident: ident, expr: @expr};
642642
type field = spanned<field_>;
643643

644644
#[auto_serialize]
645-
enum blk_check_mode { default_blk, unchecked_blk, unsafe_blk, }
645+
enum blk_check_mode { default_blk, unsafe_blk, }
646646

647647
impl blk_check_mode : cmp::Eq {
648648
pure fn eq(&&other: blk_check_mode) -> bool {
649649
match (self, other) {
650650
(default_blk, default_blk) => true,
651-
(unchecked_blk, unchecked_blk) => true,
652651
(unsafe_blk, unsafe_blk) => true,
653652
(default_blk, _) => false,
654-
(unchecked_blk, _) => false,
655653
(unsafe_blk, _) => false,
656654
}
657655
}

branches/incoming/src/libsyntax/parse/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ use ast::{_mod, add, alt_check, alt_exhaustive, arg, arm, attribute,
6161
ty_box, ty_field, ty_fn, ty_infer, ty_mac, ty_method, ty_nil,
6262
ty_param, ty_param_bound, ty_path, ty_ptr, ty_rec, ty_rptr,
6363
ty_tup, ty_u32, ty_uniq, ty_vec, ty_fixed_length, type_value_ns,
64-
unchecked_blk, uniq, unnamed_field, unsafe_blk, unsafe_fn,
64+
uniq, unnamed_field, unsafe_blk, unsafe_fn,
6565
variant, view_item, view_item_, view_item_export,
6666
view_item_import, view_item_use, view_path, view_path_glob,
6767
view_path_list, view_path_simple, visibility, vstore, vstore_box,

branches/incoming/src/libsyntax/print/pprust.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,6 @@ fn print_possibly_embedded_block_(s: ps, blk: ast::blk, embedded: embed_type,
857857
indented: uint, attrs: ~[ast::attribute],
858858
close_box: bool) {
859859
match blk.node.rules {
860-
ast::unchecked_blk => word(s.s, ~"unchecked"),
861860
ast::unsafe_blk => word(s.s, ~"unsafe"),
862861
ast::default_blk => ()
863862
}

branches/incoming/src/rustc/middle/borrowck/check_loans.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -673,9 +673,6 @@ fn check_loans_in_block(blk: ast::blk,
673673
match blk.node.rules {
674674
ast::default_blk => {
675675
}
676-
ast::unchecked_blk => {
677-
self.declared_purity = ast::impure_fn;
678-
}
679676
ast::unsafe_blk => {
680677
self.declared_purity = ast::unsafe_fn;
681678
}

branches/incoming/src/rustc/middle/typeck/check.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2168,7 +2168,6 @@ fn check_block_no_value(fcx: @fn_ctxt, blk: ast::blk) -> bool {
21682168

21692169
fn check_block(fcx0: @fn_ctxt, blk: ast::blk) -> bool {
21702170
let fcx = match blk.node.rules {
2171-
ast::unchecked_blk => @fn_ctxt {purity: ast::impure_fn,.. *fcx0},
21722171
ast::unsafe_blk => @fn_ctxt {purity: ast::unsafe_fn,.. *fcx0},
21732172
ast::default_blk => fcx0
21742173
};

0 commit comments

Comments
 (0)