Add a fixme to remove hacks

This commit is contained in:
Maybe Waffle 2023-01-09 13:37:37 +00:00
parent a9676cfbe3
commit b6169c2a2e

View file

@ -196,6 +196,8 @@ fn needs_parens_for_adjustment_hints(expr: &ast::Expr, postfix: bool) -> (bool,
// and "parent" is the parent of the original expression...
//
// For this we utilize mutable mutable trees, which is a HACK, but it works.
//
// FIXME: comeup with a better API for `needs_parens_in`, so that we don't have to do *this*
// Make `&expr`/`expr?`
let dummy_expr = {