diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2021-04-26 22:26:02 +0200 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2021-04-26 22:26:02 +0200 |
commit | 731c393be75cb472672fa55158bf97b9a9f18d89 (patch) | |
tree | d6b9a6c696d081e7c2f15003e0e2b86afff4602c | |
parent | 2cfc64e023bb11f05829c094df887ed29f42332e (diff) |
Print with_id in debug log from builtin_or_resolved_ty.
This makes debugging #2039 a bit easier.
-rw-r--r-- | src/ir/context.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ir/context.rs b/src/ir/context.rs index 2b8acc36..4faf6cd1 100644 --- a/src/ir/context.rs +++ b/src/ir/context.rs @@ -1832,8 +1832,8 @@ If you encounter an error missing from this list, please file an issue or a PR!" ) -> Option<TypeId> { use clang_sys::{CXCursor_TypeAliasTemplateDecl, CXCursor_TypeRef}; debug!( - "builtin_or_resolved_ty: {:?}, {:?}, {:?}", - ty, location, parent_id + "builtin_or_resolved_ty: {:?}, {:?}, {:?}, {:?}", + ty, location, with_id, parent_id ); if let Some(decl) = ty.canonical_declaration(location.as_ref()) { |