Rename Ty.node to Ty.kind
This commit is contained in:
parent
d4573c9c1e
commit
c3d8791373
50 changed files with 138 additions and 137 deletions
|
|
@ -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, _) |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue