about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-08-13 02:28:13 +0000
committerbors <bors@rust-lang.org>2018-08-13 02:28:13 +0000
commitab93561b5fa54954159480ddc10bbb69f015e539 (patch)
tree05a25f34dab37f6f5e8096be2ea3fa7262463068 /src/rustllvm/PassWrapper.cpp
parent5a0d2961ce88f7db90b13771d1e8fc3b50ded7b1 (diff)
parent5c814e2e4e0649972ec6a18c7dbf57259edf2210 (diff)
downloadrust-ab93561b5fa54954159480ddc10bbb69f015e539.tar.gz
rust-ab93561b5fa54954159480ddc10bbb69f015e539.zip
Auto merge of #53051 - varkor:trait-method-pattern-arguments-error, r=petrochenkov
Emit error for pattern arguments in trait methods

The error and check for this already existed, but the parser didn't try to parse trait method arguments as patterns, so the error was never emitted. This surfaces the error, so we get better errors than simple parse errors.

This improves the error message described in https://github.com/rust-lang/rust/issues/53046.

r? @petrochenkov
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions