about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-09-06 09:32:23 +0000
committerbors <bors@rust-lang.org>2018-09-06 09:32:23 +0000
commit35a5541fd90c96564d483eee248daabc6b133de3 (patch)
tree36763cce259fec243f779cf5786f62c98057cdf8 /src/libsyntax/parse
parent20ca02569ae3e1dc29962e92739fbab632abf241 (diff)
parent6b8fba5a42840f0e8b2ea087f8fefdb9b93e1b22 (diff)
downloadrust-35a5541fd90c96564d483eee248daabc6b133de3.tar.gz
rust-35a5541fd90c96564d483eee248daabc6b133de3.zip
Auto merge of #53707 - eddyb:phantom-waffles, r=oli-obk
rustc_typeck: turn `where Type:,` into a WF(Type) predicate, instead of ignoring it.

Fixes #53696, assuming crater doesn't catch anyone using this syntax already.

Allowing an empty list of bounds in the grammar was done for the benefit of macro authors, most of which would *probably* be using it for bounds on type parameters, which are always WF.

r? @nikomatsakis cc @petrochenkov
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions