diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2014-12-10 06:15:06 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2014-12-14 11:11:55 -0500 |
| commit | 22f777ba2ecfcd8d914d37db310a6feb4ad5219e (patch) | |
| tree | c8b867087fe35ee35e239f2aa31ff944d46ca4a5 /src/libsyntax/config.rs | |
| parent | 5686a91914ac678ccb78220367daefe585a0d66a (diff) | |
| download | rust-22f777ba2ecfcd8d914d37db310a6feb4ad5219e.tar.gz rust-22f777ba2ecfcd8d914d37db310a6feb4ad5219e.zip | |
Parse `unsafe impl` but don't do anything particularly interesting with the results.
Diffstat (limited to 'src/libsyntax/config.rs')
| -rw-r--r-- | src/libsyntax/config.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/config.rs b/src/libsyntax/config.rs index ee651592117..d2185a00876 100644 --- a/src/libsyntax/config.rs +++ b/src/libsyntax/config.rs @@ -133,11 +133,11 @@ fn fold_item_underscore<F>(cx: &mut Context<F>, item: ast::Item_) -> ast::Item_ F: FnMut(&[ast::Attribute]) -> bool { let item = match item { - ast::ItemImpl(a, b, c, impl_items) => { + ast::ItemImpl(u, a, b, c, impl_items) => { let impl_items = impl_items.into_iter() .filter(|ii| impl_item_in_cfg(cx, ii)) .collect(); - ast::ItemImpl(a, b, c, impl_items) + ast::ItemImpl(u, a, b, c, impl_items) } ast::ItemTrait(u, a, b, c, methods) => { let methods = methods.into_iter() |
