mirror of
https://github.com/servo/servo.git
synced 2025-07-25 08:10:21 +01:00
Upgrade to rustc 1.2.0-dev (474c6e0ae 2015-05-30)
This commit is contained in:
parent
2a8d595289
commit
f94eced1f5
8 changed files with 333 additions and 225 deletions
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue