about summary refs log tree commit diff
path: root/tests/rustdoc/auto-impl-for-trait.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2025-05-05 16:28:15 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2025-05-05 17:47:18 +0200
commitff971d001d3440fa609f8c5370432c6b77a5ac6e (patch)
treecd8e72cfa130743d02e8a44273453f8943c7ed90 /tests/rustdoc/auto-impl-for-trait.rs
parentb374996ab8d3d8a10fdf1ffcf2b1c3de3fdbbf64 (diff)
downloadrust-ff971d001d3440fa609f8c5370432c6b77a5ac6e.tar.gz
rust-ff971d001d3440fa609f8c5370432c6b77a5ac6e.zip
Created `tests/rustdoc/auto` subfolder to limit number of files at the top level
Diffstat (limited to 'tests/rustdoc/auto-impl-for-trait.rs')
-rw-r--r--tests/rustdoc/auto-impl-for-trait.rs16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/rustdoc/auto-impl-for-trait.rs b/tests/rustdoc/auto-impl-for-trait.rs
deleted file mode 100644
index bc658fbfc8c..00000000000
--- a/tests/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
-    }
-}