Upgrade to rustc 1.2.0-dev (474c6e0ae 2015-05-30)

This commit is contained in:
Manish Goregaokar 2015-06-01 22:03:27 +05:30
parent 2a8d595289
commit f94eced1f5
8 changed files with 333 additions and 225 deletions

View file

@ -76,7 +76,7 @@ pub fn unsafe_context(map: &ast_map::Map, id: ast::NodeId) -> bool {
},
Some(ast_map::NodeItem(itm)) => {
match itm.node {
ast::ItemFn(_, style, _, _, _) => match style {
ast::ItemFn(_, style, _, _, _, _) => match style {
ast::Unsafety::Unsafe => true,
_ => false,
},