about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper
diff options
context:
space:
mode:
authorTyson Nottingham <tgnottingham@gmail.com>2020-08-17 19:15:51 -0700
committerTyson Nottingham <tgnottingham@gmail.com>2020-08-18 12:15:57 -0700
commitff73a409957d704aba735fb29ab4be2d77efe958 (patch)
tree284576d5b5de610900c636b143d7dfe956be7f06 /compiler/rustc_llvm/llvm-wrapper
parent792c645ca7d11a8d254df307d019c5bf01445c37 (diff)
downloadrust-ff73a409957d704aba735fb29ab4be2d77efe958.tar.gz
rust-ff73a409957d704aba735fb29ab4be2d77efe958.zip
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
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions