]> git.lizzy.rs Git - rust.git/commit
Make FRU respect privacy of all struct fields, mentioned or unmentioned.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Mon, 26 Jan 2015 13:27:22 +0000 (14:27 +0100)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Tue, 10 Feb 2015 14:29:29 +0000 (15:29 +0100)
commit0b1d5f01828fdb21e31071d149618d2e983342c5
treedfae3354551f3ecb3b96ec35dcefe90310102ac2
parent94c06a1be0ccfcf1a8e105fc98d126de372dbd40
Make FRU respect privacy of all struct fields, mentioned or unmentioned.

This is RFC 736.

Fix #21407.
src/librustc_privacy/lib.rs
src/test/compile-fail/functional-struct-update-respects-privacy.rs [new file with mode: 0644]