summary refs log tree commit diff
path: root/src/test/run-pass/struct-partial-move-2.rs
AgeCommit message (Collapse)AuthorLines
2014-09-22librustc: Forbid private types in public APIs.Patrick Walton-2/+2
This breaks code like: struct Foo { ... } pub fn make_foo() -> Foo { ... } Change this code to: pub struct Foo { // note `pub` ... } pub fn make_foo() -> Foo { ... } The `visible_private_types` lint has been removed, since it is now an error to attempt to expose a private type in a public API. In its place a `#[feature(visible_private_types)]` gate has been added. Closes #16463. RFC #48. [breaking-change]
2014-06-18some extra test cases to cover in the borrow checker.Felix S. Klock II-0/+37