]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #88757 - andrewhickman:master, r=jackh726
authorJubilee <46493976+workingjubilee@users.noreply.github.com>
Sat, 11 Sep 2021 15:23:42 +0000 (08:23 -0700)
committerGitHub <noreply@github.com>
Sat, 11 Sep 2021 15:23:42 +0000 (08:23 -0700)
commit08cbb7dbe15b9db2ffbfb733a195cc6d036ec431
tree622d00d810e822675bd442d72507be6286096308
parent746eb1d84defe2892a2d24a6029e8e7ec478a18f
parent43b79d8ef5e1967a7ea476b757256d62fdbb3ebf
Rollup merge of #88757 - andrewhickman:master, r=jackh726

Suggest wapping expr in parentheses on invalid unary negation

Fixes #88701
src/test/ui/parser/expr-as-stmt.fixed
src/test/ui/parser/expr-as-stmt.rs
src/test/ui/parser/expr-as-stmt.stderr