The -Z unpretty=hir-tree flag will dump out the HIR.
-Z unpretty=hir-tree
If you are trying to correlate NodeIds or DefIds with source code, the --pretty expanded,identified flag may be useful.
NodeId
DefId
--pretty expanded,identified
TODO: anything else? #1159