Deprecate Reflect

[tracking issue](https://github.com/rust-lang/rust/issues/27749)
This commit is contained in:
Nick Cameron
2016-10-06 18:28:27 +13:00
parent a94f5934cd
commit 14c62f91b7
9 changed files with 13 additions and 22 deletions

View File

@@ -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