Ensure query backtraces work for `DefId`s created after ast lowering r? `@cjgillot`
tcx.mk_const
kind
For more information about how rustc works, see the rustc dev guide.