e9ad12c0ca
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] |
||
---|---|---|
.. | ||
iterate-over-array.cc | ||
iterate-over-array.rs | ||
scalar-function-call.cc | ||
scalar-function-call.rs | ||
single-return-value.cc | ||
single-return-value.rs | ||
small-dense-int-switch.cc | ||
small-dense-int-switch.rs | ||
stack-alloc-string-slice.cc | ||
stack-alloc-string-slice.rs | ||
static-method-call-multi.cc | ||
static-method-call-multi.rs | ||
static-method-call.cc | ||
static-method-call.rs | ||
virtual-method-call-struct-return.cc | ||
virtual-method-call-struct-return.rs | ||
virtual-method-call.cc | ||
virtual-method-call.rs |