]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #13237 : alexcrichton/rust/private-tuple-structs, r=brson
authorbors <bors@rust-lang.org>
Fri, 4 Apr 2014 01:41:45 +0000 (18:41 -0700)
committerbors <bors@rust-lang.org>
Fri, 4 Apr 2014 01:41:45 +0000 (18:41 -0700)
This is the final commit need to implement [RFC #4](https://github.com/rust-lang/rfcs/blob/master/active/0004-private-fields.md), it makes all tuple struct fields private by default, overridable with the `pub` keyword.

I'll note one divergence from the original RFC which is outlined in the first commit.

12 files changed:
1  2 
src/librand/distributions/exponential.rs
src/librand/distributions/normal.rs
src/librand/lib.rs
src/librustc/metadata/csearch.rs
src/librustc/metadata/decoder.rs
src/librustc/middle/graph.rs
src/librustc/middle/ty.rs
src/librustc/middle/typeck/infer/coercion.rs
src/librustc/middle/typeck/infer/lub.rs
src/libstd/rt/task.rs
src/libsyntax/ast.rs
src/libsyntax/ast_map.rs

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge