about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-08-19 15:54:35 +0900
committerGitHub <noreply@github.com>2020-08-19 15:54:35 +0900
commite6fe5232df75246921f8b89d0161e4508f1cc535 (patch)
tree0c51d099c985a6fd00afc12599d7f850d992f553 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parente6e917e12df1fc5b1866063ff8952a3b57b14fba (diff)
parentff73a409957d704aba735fb29ab4be2d77efe958 (diff)
downloadrust-e6fe5232df75246921f8b89d0161e4508f1cc535.tar.gz
rust-e6fe5232df75246921f8b89d0161e4508f1cc535.zip
Rollup merge of #75658 - tgnottingham:issue-75599, r=estebank
Don't emit "is not a logical operator" error outside of associative expressions

Avoid showing this error where it doesn't make sense by not assuming
"and" and "or" were intended to mean "&&" and "||" until after we decide
to continue parsing input as an associative expression.

Note that the decision of whether or not to continue parsing input as an
associative expression doesn't actually depend on this assumption.

Fixes #75599

---

First time contributor! Let me know if there are any conventions or policies I should be following that I missed here. Thanks :)
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions