Skip to content

Commit

Permalink
AUTO : Forward from derives_refactoring_6 to alpha (#1399)
Browse files Browse the repository at this point in the history
error_tools refactoring
  • Loading branch information
wtools-bot authored Jul 3, 2024
1 parent f29b6d0 commit bd3add7
Show file tree
Hide file tree
Showing 264 changed files with 1,835 additions and 1,407 deletions.
17 changes: 10 additions & 7 deletions module/alias/instance_of/src/typing/implements_lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,26 +67,28 @@ pub( crate ) mod private
pub use instance_of;
}

/// Protected namespace of the module.
/// Own namespace of the module.
#[ allow( unused_imports ) ]
pub mod protected
pub mod own
{
use super::*;
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::orphan::*;
pub use orphan::*;
}

#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use protected::*;
pub use own::*;

/// Orphan namespace of the module.
#[ allow( unused_imports ) ]
pub mod orphan
{
use super::*;
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::exposed::*;
pub use exposed::*;
}

/// Exposed namespace of the module.
Expand All @@ -96,16 +98,17 @@ pub mod exposed
use super::*;
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::prelude::*;
pub use prelude::*;
}

/// Prelude to use essentials: `use my_module::prelude::*`.
#[ allow( unused_imports ) ]
pub mod prelude
{
use super::*;
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::private::
pub use private::
{
implements,
instance_of,
Expand Down
15 changes: 9 additions & 6 deletions module/alias/instance_of/src/typing/inspect_type_lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,26 +66,28 @@ mod nightly
#[ allow( unused_imports ) ]
// pub use nightly::*;

/// Protected namespace of the module.
/// Own namespace of the module.
#[ allow( unused_imports ) ]
pub mod protected
pub mod own
{
use super::*;
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::orphan::*;
pub use orphan::*;
}

#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use protected::*;
pub use own::*;

/// Orphan namespace of the module.
#[ allow( unused_imports ) ]
pub mod orphan
{
use super::*;
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::exposed::*;
pub use exposed::*;
}

/// Exposed namespace of the module.
Expand All @@ -95,13 +97,14 @@ pub mod exposed
use super::*;
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::prelude::*;
pub use prelude::*;
}

/// Prelude to use essentials: `use my_module::prelude::*`.
#[ allow( unused_imports ) ]
pub mod prelude
{
use super::*;
#[ cfg( feature = "nightly" ) ]
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
Expand Down
17 changes: 10 additions & 7 deletions module/alias/instance_of/src/typing/is_slice_lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,26 +71,28 @@ pub( crate ) mod private
pub use is_slice;
}

/// Protected namespace of the module.
/// Own namespace of the module.
#[ allow( unused_imports ) ]
pub mod protected
pub mod own
{
use super::*;
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::orphan::*;
pub use orphan::*;
}

#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use protected::*;
pub use own::*;

/// Orphan namespace of the module.
#[ allow( unused_imports ) ]
pub mod orphan
{
use super::*;
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::exposed::*;
pub use exposed::*;
}

/// Exposed namespace of the module.
Expand All @@ -100,16 +102,17 @@ pub mod exposed
use super::*;
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::prelude::*;
pub use prelude::*;
}

/// Prelude to use essentials: `use my_module::prelude::*`.
#[ allow( unused_imports ) ]
pub mod prelude
{
use super::*;
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::private::
pub use private::
{
is_slice,
};
Expand Down
15 changes: 9 additions & 6 deletions module/alias/instance_of/src/typing/typing.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@

/// Protected namespace of the module.
/// Own namespace of the module.
#[ allow( unused_imports ) ]
pub mod protected
pub mod own
{
use super::*;
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::orphan::*;
pub use orphan::*;
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use ::inspect_type::orphan::*;
Expand All @@ -19,15 +20,16 @@ pub mod protected

#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use protected::*;
pub use own::*;

/// Orphan namespace of the module.
#[ allow( unused_imports ) ]
pub mod orphan
{
use super::*;
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::exposed::*;
pub use exposed::*;
}

/// Exposed namespace of the module.
Expand All @@ -37,7 +39,7 @@ pub mod exposed
use super::*;
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::prelude::*;
pub use prelude::*;
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use ::inspect_type::exposed::*;
Expand All @@ -53,6 +55,7 @@ pub mod exposed
#[ allow( unused_imports ) ]
pub mod prelude
{
use super::*;
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use ::inspect_type::prelude::*;
Expand Down
13 changes: 8 additions & 5 deletions module/alias/wtest_basic/src/_blank/standard_lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,26 +21,28 @@ pub mod dependency
{
}

/// Protected namespace of the module.
/// Own namespace of the module.
#[ allow( unused_imports ) ]
pub mod protected
pub mod own
{
use super::*;
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::orphan::*;
pub use orphan::*;
}

#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use protected::*;
pub use own::*;

/// Parented namespace of the module.
#[ allow( unused_imports ) ]
pub mod orphan
{
use super::*;
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::exposed::*;
pub use exposed::*;
}

/// Exposed namespace of the module.
Expand All @@ -58,4 +60,5 @@ pub mod exposed
#[ allow( unused_imports ) ]
pub mod prelude
{
use super::*;
}
4 changes: 2 additions & 2 deletions module/alias/wtest_basic/src/test/wtest_basic_lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ mod_interface!
use super::exposed::dt;
use super::exposed::diagnostics;

protected use super::dependency;
protected use super::dependency::*;
own use super::dependency;
own use super::dependency::*;

prelude use ::meta_tools as meta;
prelude use ::mem_tools as mem;
Expand Down
13 changes: 8 additions & 5 deletions module/blank/wlang/src/standard_lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,26 @@ pub mod dependency

#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use protected::*;
pub use own::*;

/// Protected namespace of the module.
/// Own namespace of the module.
#[ allow( unused_imports ) ]
pub mod protected
pub mod own
{
use super::*;
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::orphan::*;
pub use orphan::*;
}

/// Parented namespace of the module.
#[ allow( unused_imports ) ]
pub mod orphan
{
use super::*;
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::exposed::*;
pub use exposed::*;
}

/// Exposed namespace of the module.
Expand All @@ -48,4 +50,5 @@ pub mod exposed
#[ allow( unused_imports ) ]
pub mod prelude
{
use super::*;
}
15 changes: 9 additions & 6 deletions module/core/clone_dyn/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,27 @@ pub( crate ) mod private
#[ cfg( feature = "enabled" ) ]
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use protected::*;
pub use own::*;

/// Protected namespace of the module.
/// Own namespace of the module.
#[ cfg( feature = "enabled" ) ]
#[ allow( unused_imports ) ]
pub mod protected
pub mod own
{
use super::*;
#[ doc( inline ) ]
pub use super::orphan::*;
pub use orphan::*;
}

/// Orphan namespace of the module.
#[ cfg( feature = "enabled" ) ]
#[ allow( unused_imports ) ]
pub mod orphan
{
use super::*;

#[ doc( inline ) ]
pub use super::exposed::*;
pub use exposed::*;

#[ doc( inline ) ]
#[ allow( unused_imports ) ]
Expand All @@ -58,14 +60,15 @@ pub mod exposed
{
use super::*;
#[ doc( inline ) ]
pub use super::prelude::*;
pub use prelude::*;
}

/// Prelude to use essentials: `use my_module::prelude::*`.
#[ cfg( feature = "enabled" ) ]
#[ allow( unused_imports ) ]
pub mod prelude
{
use super::*;

#[ doc( inline ) ]
#[ allow( unused_imports ) ]
Expand Down
Loading

0 comments on commit bd3add7

Please sign in to comment.