[][src]Function syntax::util::parser::needs_par_as_let_scrutinee

pub(crate) fn needs_par_as_let_scrutinee(order: i8) -> bool
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Suppose we have let _ = e and the order of e. Is the order such that e in let _ = e needs parenthesis when it is on the RHS?

Conversely, suppose that we have (let _ = a) OP b and order is that of OP. Can we print this as let _ = a OP b?