diff options
Diffstat (limited to 'src/test/rustdoc/auto-impl-for-trait.rs')
-rw-r--r-- | src/test/rustdoc/auto-impl-for-trait.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/test/rustdoc/auto-impl-for-trait.rs b/src/test/rustdoc/auto-impl-for-trait.rs deleted file mode 100644 index bc658fbfc..000000000 --- a/src/test/rustdoc/auto-impl-for-trait.rs +++ /dev/null @@ -1,16 +0,0 @@ -// Test for https://github.com/rust-lang/rust/issues/48463 issue. - -use std::any::Any; -use std::ops::Deref; - -pub struct AnyValue { - val: Box<Any>, -} - -impl Deref for AnyValue { - type Target = Any; - - fn deref(&self) -> &Any { - &*self.val - } -} |