Publicise types/add #[allow(visible_private_types)] to a variety of places.
There's a lot of these types in the compiler libraries, and a few of the older or private stdlib ones. Some types are obviously meant to be public, others not so much.
This commit is contained in:
parent
fbdd3b2ef6
commit
218eae06ab
13 changed files with 16 additions and 5 deletions
|
|
@ -44,6 +44,7 @@ pub struct Timer {
|
|||
priv on_worker: bool,
|
||||
}
|
||||
|
||||
#[allow(visible_private_types)]
|
||||
pub enum Req {
|
||||
NewTimer(libc::c_int, Chan<()>, bool, imp::itimerspec),
|
||||
RemoveTimer(libc::c_int, Chan<()>),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue