Add `SyntaxContext::is_root` Makes the code a tad nicer.
rustc_const_eval
For more information about how rustc works, see the rustc dev guide.