Deprecate Reflect
[tracking issue](https://github.com/rust-lang/rust/issues/27749)
This commit is contained in:
@@ -55,7 +55,6 @@ use any::TypeId;
|
||||
use cell;
|
||||
use char;
|
||||
use fmt::{self, Debug, Display};
|
||||
use marker::Reflect;
|
||||
use mem::transmute;
|
||||
use num;
|
||||
use str;
|
||||
@@ -63,7 +62,7 @@ use string;
|
||||
|
||||
/// Base functionality for all errors in Rust.
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
pub trait Error: Debug + Display + Reflect {
|
||||
pub trait Error: Debug + Display {
|
||||
/// A short description of the error.
|
||||
///
|
||||
/// The description should not contain newlines or sentence-ending
|
||||
|
||||
Reference in New Issue
Block a user