diff options
| author | varkor <github@varkor.com> | 2019-09-26 17:25:31 +0100 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2019-09-26 18:21:10 +0100 |
| commit | c3d8791373005ef08c876aa649ede245efd2352d (patch) | |
| tree | d60090ad10eecda23484b9c922288929dcb81cd6 /src/librustc_interface/util.rs | |
| parent | d4573c9c1e8118be5ffc662c6a64db329db0a245 (diff) | |
| download | rust-c3d8791373005ef08c876aa649ede245efd2352d.tar.gz rust-c3d8791373005ef08c876aa649ede245efd2352d.zip | |
Rename `Ty.node` to `Ty.kind`
Diffstat (limited to 'src/librustc_interface/util.rs')
| -rw-r--r-- | src/librustc_interface/util.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_interface/util.rs b/src/librustc_interface/util.rs index 7b6c5f5e638..44899721b1f 100644 --- a/src/librustc_interface/util.rs +++ b/src/librustc_interface/util.rs @@ -738,7 +738,7 @@ impl<'a> ReplaceBodyWithLoop<'a> { fn should_ignore_fn(ret_ty: &ast::FnDecl) -> bool { if let ast::FunctionRetTy::Ty(ref ty) = ret_ty.output { fn involves_impl_trait(ty: &ast::Ty) -> bool { - match ty.node { + match ty.kind { ast::TyKind::ImplTrait(..) => true, ast::TyKind::Slice(ref subty) | ast::TyKind::Array(ref subty, _) | |
