rust/src
bors 45f0ce71c1 Auto merge of #31920 - jseyfried:fix_spurious_privacy_error, r=nikomatsakis
This PR allows using methods from traits that are visible but are defined in an inaccessible module (fixes #18241). For example,
```rust
mod foo {
    pub use foo::bar::Tr;
    mod bar { // This module is inaccessible from `g`
        pub trait Tr { fn f(&self) {} }
    }
}
fn g<T: foo::Tr>(t: T) {
    t.f(); // Currently, this is a privacy error even though `foo::Tr` is visible
}
```

After this PR, it will continue to be a privacy error to use a method from a trait that is not visible. This can happen when a public trait inherits from a private trait (in violation of the `public_in_private` lint) -- see @petrochenkov's example in #28504.
r? @nikomatsakis
2016-03-06 02:29:34 +00:00
..
bootstrap [rustbuild] fix cross compilation of std for mips(el)-linux-musl 2016-03-03 14:50:28 -05:00
build_helper
compiler-rt@b6087e82ba
compiletest make pretty printer tests understand revisions, and make them ignore the 2016-03-03 11:17:32 -05:00
doc Rollup merge of #32002 - srinivasreddy:vector_doc, r=Manishearth 2016-03-04 14:17:28 -05:00
driver
error_index_generator
etc
grammar
jemalloc@aab1c0a0e0 std: Update jemalloc again to the 4.* track 2016-03-04 09:49:39 -08:00
liballoc
liballoc_jemalloc
liballoc_system
libarena
libbacktrace
libcollections Auto merge of #31797 - apasel422:issue-28950, r=alexcrichton 2016-03-03 19:52:11 +00:00
libcollectionstest
libcore Auto merge of #31700 - oli-obk:skip_double_ended, r=alexcrichton 2016-03-05 16:58:20 +00:00
libcoretest make skip a double ended iterator 2016-03-04 10:22:55 +01:00
libflate
libfmt_macros
libgetopts
libgraphviz
liblibc@07a9206793
liblog
librand
librbml
librustc Auto merge of #31671 - ranma42:printcfg, r=alexcrichton 2016-03-03 21:37:18 +00:00
librustc_back
librustc_bitflags
librustc_borrowck Rename middle::ty::ctxt to TyCtxt 2016-03-03 07:37:56 +00:00
librustc_data_structures
librustc_driver Auto merge of #31671 - ranma42:printcfg, r=alexcrichton 2016-03-03 21:37:18 +00:00
librustc_front Move span into StructField 2016-03-02 10:32:04 +03:00
librustc_lint Rename middle::ty::ctxt to TyCtxt 2016-03-03 07:37:56 +00:00
librustc_llvm
librustc_metadata Rename middle::ty::ctxt to TyCtxt 2016-03-03 07:37:56 +00:00
librustc_mir Rename middle::ty::ctxt to TyCtxt 2016-03-03 07:37:56 +00:00
librustc_passes Rename middle::ty::ctxt to TyCtxt 2016-03-03 07:37:56 +00:00
librustc_platform_intrinsics Rename middle::ty::ctxt to TyCtxt 2016-03-03 07:37:56 +00:00
librustc_plugin
librustc_privacy Don't treat associated types specially in def_privacy 2016-03-04 18:30:24 +00:00
librustc_resolve Finish encapsulating the details of import resolution in resolve_imports 2016-03-04 20:48:55 +00:00
librustc_trans Auto merge of #32032 - arielb1:load-const, r=eddyb 2016-03-04 15:33:10 +00:00
librustc_typeck Auto merge of #32039 - arielb1:pat-enum, r=nagisa 2016-03-04 17:19:40 +00:00
librustc_unicode
librustdoc Auto merge of #32022 - gohyda:master, r=alexcrichton 2016-03-04 13:47:02 +00:00
libserialize
libstd Rollup merge of #32027 - japaric:rustbuild-mips, r=alexcrichton 2016-03-04 14:17:29 -05:00
libsyntax Fix the search paths for macro-expanded non-inline modules 2016-03-02 23:50:19 +00:00
libsyntax_ext
libterm
libtest
llvm@69ef168544
rt
rtstartup
rust-installer@c37d3747da
rustbook
rustc
rustllvm
test Auto merge of #31920 - jseyfried:fix_spurious_privacy_error, r=nikomatsakis 2016-03-06 02:29:34 +00:00
nightlies.txt
snapshots.txt