diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2015-11-27 11:22:59 +0100 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2015-11-27 14:33:29 +0100 |
commit | 8d7d132c931557bfb8e167215d9909cede4ba58c (patch) | |
tree | c65c415dbf897a6440871d4ef6368a15cbb2f877 /components/plugins/utils.rs | |
parent | a515fe320b78758dedcb94848ae7b9a3fbd73fca (diff) | |
download | servo-8d7d132c931557bfb8e167215d9909cede4ba58c.tar.gz servo-8d7d132c931557bfb8e167215d9909cede4ba58c.zip |
Upgrade to rustc 1.6.0-nightly (1805bba39 2015-11-26)
Diffstat (limited to 'components/plugins/utils.rs')
-rw-r--r-- | components/plugins/utils.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/plugins/utils.rs b/components/plugins/utils.rs index d9816c7a921..8c97842bc15 100644 --- a/components/plugins/utils.rs +++ b/components/plugins/utils.rs @@ -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 } }, |