rust/src/librustrt
Patrick Walton e9ad12c0ca librustc: Forbid private types in public APIs.
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-09-22 20:05:45 -07:00
..
args.rs Fix fallout from Vec stabilization 2014-09-21 22:15:51 -07:00
at_exit_imp.rs Fallout from renaming 2014-09-16 14:37:48 -07:00
bookkeeping.rs stabilize atomics (now atomic) 2014-08-04 16:03:21 -07:00
c_str.rs Doc says to avoid mixing allocator instead of forbiding it 2014-09-18 14:16:26 +02:00
exclusive.rs Fallout from renaming 2014-09-16 14:37:48 -07:00
lib.rs Updated to new extern crate syntax. 2014-09-01 09:02:00 -07:00
libunwind.rs Unify non-snake-case lints and non-uppercase statics lints 2014-08-30 09:10:05 +12:00
local.rs librustc: Forbid private types in public APIs. 2014-09-22 20:05:45 -07:00
local_data.rs Update calls of deprecated functions in macros. 2014-09-22 19:30:06 +02:00
local_heap.rs Fallout from renaming 2014-09-16 14:37:48 -07:00
local_ptr.rs librustc: Forbid private types in public APIs. 2014-09-22 20:05:45 -07:00
macros.rs std: Extract librustrt out of libstd 2014-06-06 22:19:41 -07:00
mutex.rs Fallout from renaming 2014-09-16 14:37:48 -07:00
rtio.rs Implement generalized object and type parameter bounds (Fixes #16462) 2014-08-27 21:46:52 -04:00
stack.rs Remove stage0 attributes. 2014-08-23 02:11:07 -07:00
task.rs Remove some test warnings. 2014-09-09 11:32:58 +02:00
thread.rs Fallout from renaming 2014-09-16 14:37:48 -07:00
thread_local_storage.rs Unify non-snake-case lints and non-uppercase statics lints 2014-08-30 09:10:05 +12:00
unwind.rs librustc: Forbid private types in public APIs. 2014-09-22 20:05:45 -07:00
util.rs Fallout from renaming 2014-09-16 14:37:48 -07:00