Upgrade to rustc 1.6.0-nightly (1805bba39 2015-11-26)

This commit is contained in:
Simon Sapin 2015-11-27 11:22:59 +01:00
parent a515fe320b
commit 8d7d132c93
7 changed files with 50 additions and 49 deletions

View file

@ -76,7 +76,7 @@ pub fn unsafe_context(map: &ast_map::Map, id: ast::NodeId) -> bool {
match map.find(map.get_parent(id)) {
Some(ast_map::NodeImplItem(itm)) => {
match itm.node {
hir::MethodImplItem(ref sig, _) => sig.unsafety == hir::Unsafety::Unsafe,
hir::ImplItemKind::Method(ref sig, _) => sig.unsafety == hir::Unsafety::Unsafe,
_ => false
}
},