From 31bd928c4bc4e6e047d4e229ab618c038f436617 Mon Sep 17 00:00:00 2001 From: Apoorva Joshi Date: Fri, 24 Jul 2020 16:21:40 +0200 Subject: [PATCH] Deprecate the DebugMarker and DebugReport extension modules (#317) * Deprecate the DebugMarker and DebugReport extension modules * Allow deprecated modules only in mod.rs, to suppress clippy warning Co-authored-by: Apoorva Joshi --- ash/src/extensions/ext/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ash/src/extensions/ext/mod.rs b/ash/src/extensions/ext/mod.rs index 56d6e18..894f2aa 100644 --- a/ash/src/extensions/ext/mod.rs +++ b/ash/src/extensions/ext/mod.rs @@ -1,10 +1,14 @@ +#[allow(deprecated)] pub use self::debug_marker::DebugMarker; +#[allow(deprecated)] pub use self::debug_report::DebugReport; pub use self::debug_utils::DebugUtils; pub use self::metal_surface::MetalSurface; pub use self::tooling_info::ToolingInfo; +#[deprecated(note = "Please use the [DebugUtils](struct.DebugUtils.html) extension instead.")] mod debug_marker; +#[deprecated(note = "Please use the [DebugUtils](struct.DebugUtils.html) extension instead.")] mod debug_report; mod debug_utils; mod metal_surface;