Skip to content

Commit 5e59925

Browse files
committed
Update rustc-ap-syntax
1 parent f578e4f commit 5e59925

File tree

3 files changed

+37
-37
lines changed

3 files changed

+37
-37
lines changed

Cargo.lock

+34-34
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ env_logger = "0.5"
4747
getopts = "0.2"
4848
derive-new = "0.5"
4949
cargo_metadata = "0.5.1"
50-
rustc-ap-rustc_target = "181.0.0"
51-
rustc-ap-syntax = "181.0.0"
50+
rustc-ap-rustc_target = "182.0.0"
51+
rustc-ap-syntax = "182.0.0"
5252
failure = "0.1.1"
5353

5454
[dev-dependencies]

src/types.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ impl Rewrite for ast::Ty {
681681
rewrite_macro(mac, None, context, shape, MacroPosition::Expression)
682682
}
683683
ast::TyKind::ImplicitSelf => Some(String::from("")),
684-
ast::TyKind::ImplTrait(ref it) => it
684+
ast::TyKind::ImplTrait(_, ref it) => it
685685
.rewrite(context, shape)
686686
.map(|it_str| format!("impl {}", it_str)),
687687
ast::TyKind::Err | ast::TyKind::Typeof(..) => unreachable!(),

0 commit comments

Comments
 (0)