rust/src
bors e7261f3ab6 Auto merge of #27641 - nikomatsakis:soundness-rfc-1214, r=nrc
This PR implements the majority of RFC 1214. In particular, it implements:

- the new outlives relation
- comprehensive WF checking

For the most part, new code receives warnings, not errors, though 3 regressions were found via a crater run. 

There are some deviations from RFC 1214. Most notably:

- we still consider implied bounds from fn ret; this intersects other soundness issues that I intend to address in detail in a follow-up RFC. Fixing this without breaking a lot of code probably requires rewriting compare-method somewhat (which is probably a good thing).
- object types do not check trait bounds for fear of encountering `Self`; this was left as an unresolved question in RFC 1214, but ultimately feels inconsistent.

Both of those two issues are highlighted in the tracking issue, https://github.com/rust-lang/rust/issues/27579. #27579 also includes a testing matrix with new tests that I wrote -- these probably duplicate some existing tests, I tried to check but wasn't quite sure what to look for. I tried to be thorough in testing the WF relation, at least, but would welcome suggestions for missing tests.

r? @nrc (or perhaps someone else?)
2015-08-14 15:26:09 +00:00
..
compiler-rt@58ab642c30
compiletest
doc Fix broken link to Wilson 2015-08-13 15:42:14 -04:00
driver
error-index-generator
etc Auto merge of #27684 - alexcrichton:remove-deprecated, r=aturon 2015-08-13 23:32:30 +00:00
grammar
jemalloc@e24a1a025a
liballoc
libarena
libbacktrace
libcollections Auto merge of #27696 - bluss:into-boxed-str, r=alexcrichton 2015-08-14 01:06:37 +00:00
libcollectionstest Auto merge of #27696 - bluss:into-boxed-str, r=alexcrichton 2015-08-14 01:06:37 +00:00
libcore Auto merge of #27641 - nikomatsakis:soundness-rfc-1214, r=nrc 2015-08-14 15:26:09 +00:00
libcoretest Auto merge of #27786 - alexcrichton:start-testing-msvc, r=brson 2015-08-14 02:38:29 +00:00
libflate
libfmt_macros
libgetopts
libgraphviz
liblibc
liblog
librand
librbml
librustc Auto merge of #27641 - nikomatsakis:soundness-rfc-1214, r=nrc 2015-08-14 15:26:09 +00:00
librustc_back
librustc_bitflags
librustc_borrowck Auto merge of #27758 - nathankleyn:diagnostics-386, r=Manishearth 2015-08-13 20:37:18 +00:00
librustc_data_structures
librustc_driver
librustc_lint
librustc_llvm
librustc_privacy
librustc_resolve
librustc_trans
librustc_typeck Auto merge of #27641 - nikomatsakis:soundness-rfc-1214, r=nrc 2015-08-14 15:26:09 +00:00
librustc_unicode
librustdoc Auto merge of #27641 - nikomatsakis:soundness-rfc-1214, r=nrc 2015-08-14 15:26:09 +00:00
libserialize Auto merge of #27641 - nikomatsakis:soundness-rfc-1214, r=nrc 2015-08-14 15:26:09 +00:00
libstd Auto merge of #27641 - nikomatsakis:soundness-rfc-1214, r=nrc 2015-08-14 15:26:09 +00:00
libsyntax Auto merge of #27641 - nikomatsakis:soundness-rfc-1214, r=nrc 2015-08-14 15:26:09 +00:00
libterm
libtest
llvm@874dc4ee4c
rt
rust-installer@c37d3747da
rustbook
rustllvm
test Auto merge of #27641 - nikomatsakis:soundness-rfc-1214, r=nrc 2015-08-14 15:26:09 +00:00
snapshots.txt Fixes #27805 - adds missing snapshots for Bitrig and FreeBSD 2015-08-13 13:45:04 -07:00