Skip to content

Commit 731c393

Browse files
committed
Print with_id in debug log from builtin_or_resolved_ty.
This makes debugging rust-lang#2039 a bit easier.
1 parent 2cfc64e commit 731c393

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ir/context.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1832,8 +1832,8 @@ If you encounter an error missing from this list, please file an issue or a PR!"
18321832
) -> Option<TypeId> {
18331833
use clang_sys::{CXCursor_TypeAliasTemplateDecl, CXCursor_TypeRef};
18341834
debug!(
1835-
"builtin_or_resolved_ty: {:?}, {:?}, {:?}",
1836-
ty, location, parent_id
1835+
"builtin_or_resolved_ty: {:?}, {:?}, {:?}, {:?}",
1836+
ty, location, with_id, parent_id
18371837
);
18381838

18391839
if let Some(decl) = ty.canonical_declaration(location.as_ref()) {

0 commit comments

Comments
 (0)