about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser/expr.rs
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2019-10-24 00:00:00 +0000
committerTomasz Miąsko <tomasz.miasko@gmail.com>2019-11-03 10:20:11 +0100
commit2c4862245a539a281df31a190d05b8ae8eac58ba (patch)
treefdaf919fae962b3d24027297307a46617b27d4a3 /src/libsyntax/parse/parser/expr.rs
parentf6c2c4dc43bc0340368ed38cecb309be472df146 (diff)
downloadrust-2c4862245a539a281df31a190d05b8ae8eac58ba.tar.gz
rust-2c4862245a539a281df31a190d05b8ae8eac58ba.zip
Validate error patterns and error annotation in ui tests when present
Previously, when compilation succeeded, neither error patterns nor error
annotation would be validated. Additionally, when compilation failed,
only error patterns would be validated if both error patterns and error
annotation were present.

Now both error patterns and error annotation are validated when present,
regardless of compilation status. Furthermore, for test that should run,
the error patterns are matched against executable output, which is what
some of tests already expect to happen, and when #65506 is merged even
more ui tests will.
Diffstat (limited to 'src/libsyntax/parse/parser/expr.rs')
0 files changed, 0 insertions, 0 deletions