I find that "Hir&bar ->" returns an empty graph, but "-> Hir&bar" returns a graph with several nodes.
I think this is just because there are no rules with Hir(bar) on the left side, so there's nothing reachable from that node, and therefore your filter is filtering out everything.
Make sure you force rustc to re-run, by changing the modification date of your main.rs file or by running cargo clean before cargo rustc. Otherwise, the Cargo command will do nothing if your program was previously built. (You can delete the dep_graph.txt file between runs to check whether it is regenerated or not.)
Thank you. I do all of this. Before every attempt I'm change source file, delete dep-graph output files and sure that after changing environment variable output files really updates.