about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-11-11 09:56:22 +0000
committerbors <bors@rust-lang.org>2017-11-11 09:56:22 +0000
commit69ee5a8a9787336f8635ec12ed0c6199a70505e0 (patch)
tree8a458a7e82a9a5181bacdeb36913b6f702e21ad5 /src/rustllvm/PassWrapper.cpp
parentbd7ce71aabfcd851b94a097060643c056a9b0659 (diff)
parent7995f879d0c520d162d965db0ebbe403bfa2bfda (diff)
downloadrust-69ee5a8a9787336f8635ec12ed0c6199a70505e0.tar.gz
rust-69ee5a8a9787336f8635ec12ed0c6199a70505e0.zip
Auto merge of #45772 - leodasvacas:fix-auto-bounds-in-trait-objects, r=nikomatsakis
Fix checking of auto trait bounds in trait objects.

Any auto trait is allowed in trait object bounds. Fix duplicate check of type and lifetime parameter count, which we were [emitting twice](https://play.rust-lang.org/?gist=37dbbdbbec62dec423bb8f6d92f137cc&version=stable).

Note: This was the last use of `Send` in the compiler, meaning after a new `stage0` we could remove the `send` lang item.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions