You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For finding out where I was generating wrongly formatted quotes I used println('{:?}', tokens) to find out what tokens were being generated. Leaving those prints in causes cargo expand to hiccup when rustfmt is in the path, because they are seen as the first part of the code and it's not valid Rust.
For finding out where I was generating wrongly formatted quotes I used
println('{:?}', tokens)
to find out what tokens were being generated. Leaving those prints in causescargo expand
to hiccup when rustfmt is in the path, because they are seen as the first part of the code and it's not valid Rust.This can be worked around by using
RUSTFMT= cargo expand
, to disable rustfmt.The text was updated successfully, but these errors were encountered: