Skip to content

Commit 69dce6b

Browse files
committed
Clean dead codes
1 parent f2d2175 commit 69dce6b

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

std/src/error.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,6 @@ pub use core::error::Error;
1212
#[unstable(feature = "error_generic_member_access", issue = "99301")]
1313
pub use core::error::{request_ref, request_value, Request};
1414

15-
mod private {
16-
// This is a hack to prevent `type_id` from being overridden by `Error`
17-
// implementations, since that can enable unsound downcasting.
18-
#[unstable(feature = "error_type_id", issue = "60784")]
19-
#[derive(Debug)]
20-
pub struct Internal;
21-
}
22-
2315
/// An error reporter that prints an error and its sources.
2416
///
2517
/// Report also exposes configuration options for formatting the error sources, either entirely on a

0 commit comments

Comments
 (0)