about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-05-16 09:03:38 +0000
committerbors <bors@rust-lang.org>2018-05-16 09:03:38 +0000
commit448cc578a903730d422f6e638641787d0dbd7bc7 (patch)
treea33e1b1cee698283eaf2431c9b909d7ddd39e192 /src/rustllvm/RustWrapper.cpp
parent3ec2058bfee1e6c57d4c84d873737f84d4636bea (diff)
parentbe2900c33b043ca2002bdb11870e8d26c3e410f3 (diff)
downloadrust-448cc578a903730d422f6e638641787d0dbd7bc7.tar.gz
rust-448cc578a903730d422f6e638641787d0dbd7bc7.zip
Auto merge of #48557 - matthewjasper:allow-trvial-bounds, r=nikomatsakis
Implement RFC 2056 trivial constraints in where clauses

This is an implementation of the new behaviour for #48214. Tests are mostly updated to show the effects of this. Feature gate hasn't been added yet.

Some things that are worth noting and are maybe not want we want

* `&mut T: Copy` doesn't allow as much as someone might expect because there is often an implicit reborrow.
* ~There isn't a check that a where clause is well-formed any more, so `where Vec<str>: Debug` is now allowed (without a `str: Sized` bound).~

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