Corey Richardson
fdcb104517
middle: typeck: rscope: remove dead code
2014-04-02 11:17:24 -04:00
Corey Richardson
3bd0a37c0b
middle: typeck: remove dead code
2014-04-02 11:17:24 -04:00
Corey Richardson
009389f051
middle: typeck: infer: resolve: remove dead code
2014-04-02 11:17:23 -04:00
Corey Richardson
167c29ff3f
middle: typeck: infer: remove dead code
2014-04-02 11:17:23 -04:00
Corey Richardson
ce47c91bfc
middle: typeck: infer: lub: remove dead code
2014-04-02 11:17:23 -04:00
Corey Richardson
1a98ec83c1
middle: typeck: infer: combine: remove dead code
2014-04-02 11:17:23 -04:00
Corey Richardson
dcb01ff573
middle: typeck: check: remove dead code
2014-04-02 11:17:23 -04:00
Corey Richardson
39f839d9ee
middle: ty: remove dead code
2014-04-02 11:17:23 -04:00
Corey Richardson
b4653941d6
middle: trans: type_: remove dead code
2014-04-02 11:17:23 -04:00
Corey Richardson
53b70a83c6
middle: trans: tvec: remove dead code
2014-04-02 11:17:23 -04:00
Corey Richardson
4bc2c3b2b4
middle: trans: reflect: remove dead code
2014-04-02 11:17:22 -04:00
Corey Richardson
32753ed811
middle: trans: meth: remove dead code
2014-04-02 11:17:22 -04:00
Corey Richardson
f9973103c5
middle: trans: datum: remove dead code
2014-04-02 11:17:22 -04:00
Corey Richardson
9dd185c255
middle: trans: context: remove dead code
2014-04-02 11:17:22 -04:00
Corey Richardson
e53f48be34
middle: trans: common: remove dead code
2014-04-02 11:17:22 -04:00
Corey Richardson
8f385fc2e0
middle: trans: callee: remove dead code
2014-04-02 11:17:22 -04:00
Corey Richardson
a2290ccbc5
middle: trans: cabi: remove dead code
2014-04-02 11:17:21 -04:00
Corey Richardson
5e2b5221ca
middle: trans: builder: ignore dead code
2014-04-02 11:17:21 -04:00
Corey Richardson
8de5eec222
middle: trans: build: remove dead code
2014-04-02 11:17:21 -04:00
Corey Richardson
49dc0193bd
middle: trans: base: remove dead code
2014-04-02 11:17:21 -04:00
Corey Richardson
a9bf099000
middle: trans: adt: remove dead code
2014-04-02 11:17:21 -04:00
Corey Richardson
ee82233a1e
middle: region: remove dead code
2014-04-02 11:17:20 -04:00
Corey Richardson
39fce48324
middle: pat_util: remove dead code
2014-04-02 11:17:20 -04:00
Corey Richardson
dc59df776a
middle: mem_categorization: remove dead code
2014-04-02 11:17:20 -04:00
Corey Richardson
393bc08762
middle: lang_items: allow dead code
2014-04-02 11:17:20 -04:00
Corey Richardson
35c98a8378
middle: kind: remove dead code
2014-04-02 11:17:20 -04:00
Corey Richardson
fb19d680f4
middle: graph: ignore dead code
2014-04-02 11:17:20 -04:00
Corey Richardson
6ed787155d
middle: freevars: remove dead code
2014-04-02 11:17:19 -04:00
Corey Richardson
4e5409ba91
middle: dataflow: remove dead code
2014-04-02 11:17:19 -04:00
Corey Richardson
d03e647a0a
middle: const_eval: remove dead code
2014-04-02 11:17:19 -04:00
Corey Richardson
2013488bee
middle: cfg: allow dead code
2014-04-02 11:17:19 -04:00
Corey Richardson
77d1978f8e
middle: borrowck: remove dead code
2014-04-02 11:17:19 -04:00
Corey Richardson
0ce17d941d
middle: astencode: remove dead code
2014-04-02 11:17:18 -04:00
Corey Richardson
194242f096
metadata: filesearch: remove dead code
2014-04-02 11:17:18 -04:00
Corey Richardson
0a0ab4031c
metadata: decoder: remove dead code
2014-04-02 11:17:15 -04:00
Corey Richardson
3f8d1588e8
metadata: cstore: remove dead code
2014-04-01 10:19:10 -04:00
Corey Richardson
6ce37e8dd7
metadata: csearch: remove dead code
2014-04-01 10:18:53 -04:00
Corey Richardson
86e6a80d8d
metadata: common: remove dead code
2014-04-01 10:17:32 -04:00
Corey Richardson
aae9594932
lib: llvm: remove dead code
2014-04-01 10:17:18 -04:00
Corey Richardson
59645c1209
back: link: remove dead code
2014-04-01 10:16:58 -04:00
Corey Richardson
74ddaa27e7
back: archive: remove dead code
2014-04-01 10:16:46 -04:00
Corey Richardson
5a4c8a9c57
back: abi: remove dead code
2014-04-01 10:12:02 -04:00
Corey Richardson
3b4a5174c0
rustc: make comments on CrateContext doc comments
2014-04-01 07:11:23 -04:00
bors
b8ef9fd9c9
auto merge of #13184 : alexcrichton/rust/priv-fields, r=brson
...
This is an implementation of a portion of [RFC #4 ](https://github.com/rust-lang/rfcs/blob/master/active/0004-private-fields.md ). This PR makes named struct fields private by default (as opposed to inherited by default).
The only real meaty change is the first commit to `rustc`, all other commits are just fallout of that change.
Summary of changes made:
* Named fields are private by default *everywhere*
* The `priv` keyword is now default-deny on named fields (done in a "lint" pass in privacy)
Changes yet to be done (before the RFC is closed)
* Change tuple structs to have private fields by default
* Remove `priv` enum variants
* Make `priv` a reserved keyword
2014-03-31 15:51:33 -07:00
Alex Crichton
37a3131640
doc: Update with changes in field privacy
2014-03-31 15:47:37 -07:00
Alex Crichton
8093427195
url: Switch privacy defaults where necessary
2014-03-31 15:47:37 -07:00
Alex Crichton
9aa4a94953
compiletest: Switch field privacy where necessary
2014-03-31 15:47:37 -07:00
Alex Crichton
d0a80cca6c
rpass/cfail: Update field privacy where necessary
2014-03-31 15:47:36 -07:00
Alex Crichton
0b36e9d913
num: Switch field privacy as necessary
2014-03-31 15:47:36 -07:00
Alex Crichton
b9b0ed521d
green: Switch field privacy as necessary
2014-03-31 15:47:36 -07:00