diff options
author | Aleksey Kladov <[email protected]> | 2020-07-16 12:15:00 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-16 12:16:34 +0100 |
commit | b5ce84b17023d27f4e96ec7911aca712db0e000b (patch) | |
tree | 96f00583eaa8659a21960fa5fc4717d4d9bf0962 /crates/ra_hir_ty/src/diagnostics | |
parent | b598ab8be46b50d5f407c3858c7b2c788328edc7 (diff) |
Align CallableDefId naming with other ids
Diffstat (limited to 'crates/ra_hir_ty/src/diagnostics')
-rw-r--r-- | crates/ra_hir_ty/src/diagnostics/unsafe_check.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_hir_ty/src/diagnostics/unsafe_check.rs b/crates/ra_hir_ty/src/diagnostics/unsafe_check.rs index 9e4ed9a8b..5cc76bdce 100644 --- a/crates/ra_hir_ty/src/diagnostics/unsafe_check.rs +++ b/crates/ra_hir_ty/src/diagnostics/unsafe_check.rs | |||
@@ -11,7 +11,7 @@ use hir_def::{ | |||
11 | use hir_expand::diagnostics::DiagnosticSink; | 11 | use hir_expand::diagnostics::DiagnosticSink; |
12 | 12 | ||
13 | use crate::{ | 13 | use crate::{ |
14 | db::HirDatabase, diagnostics::MissingUnsafe, lower::CallableDef, ApplicationTy, | 14 | db::HirDatabase, diagnostics::MissingUnsafe, lower::CallableDefId, ApplicationTy, |
15 | InferenceResult, Ty, TypeCtor, | 15 | InferenceResult, Ty, TypeCtor, |
16 | }; | 16 | }; |
17 | 17 | ||
@@ -88,7 +88,7 @@ fn walk_unsafe( | |||
88 | Expr::Call { callee, .. } => { | 88 | Expr::Call { callee, .. } => { |
89 | let ty = &infer[*callee]; | 89 | let ty = &infer[*callee]; |
90 | if let &Ty::Apply(ApplicationTy { | 90 | if let &Ty::Apply(ApplicationTy { |
91 | ctor: TypeCtor::FnDef(CallableDef::FunctionId(func)), | 91 | ctor: TypeCtor::FnDef(CallableDefId::FunctionId(func)), |
92 | .. | 92 | .. |
93 | }) = ty | 93 | }) = ty |
94 | { | 94 | { |