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
rustc currently overwrites source files without warning or failure if they do not have a file extension. For example rustc myfile succeeds without output, but is allowed to replace myfile with the binary output, deleting its contents.
The text was updated successfully, but these errors were encountered:
…eykril
internal : rewrite DeMorgan assist
fixesrust-lang#15239 , rust-lang#15240 . This PR is a rewrite of the DeMorgan assist that essentially rids of all the string manipulation and modifies syntax trees to apply demorgan on a binary expr. The main reason for the rewrite is that I wanted to use `Expr::needs_parens_in` method to see if the expr on which the assist is applied would still need the parens it had once the parent expression's operator had equal precedence with that of the expression. I used `.clone_(subtree|for_update)` left and right and probably more than I should have, so I would also be happy to hear how I could have prevented redundant cloning.
rustc currently overwrites source files without warning or failure if they do not have a file extension. For example
rustc myfile
succeeds without output, but is allowed to replace myfile with the binary output, deleting its contents.The text was updated successfully, but these errors were encountered: