about summary refs log tree commit diff
path: root/src/test/rustdoc/inline_cross/implementors-js.rs
diff options
context:
space:
mode:
authorAlbert Larsan <74931857+albertlarsan68@users.noreply.github.com>2023-01-05 09:13:28 +0100
committerAlbert Larsan <74931857+albertlarsan68@users.noreply.github.com>2023-01-11 09:32:08 +0000
commitcf2dff2b1e3fa55fa5415d524200070d0d7aacfe (patch)
tree40a88d9a46aaf3e8870676eb2538378b75a263eb /src/test/rustdoc/inline_cross/implementors-js.rs
parentca855e6e42787ecd062d81d53336fe6788ef51a9 (diff)
downloadrust-cf2dff2b1e3fa55fa5415d524200070d0d7aacfe.tar.gz
rust-cf2dff2b1e3fa55fa5415d524200070d0d7aacfe.zip
Move /src/test to /tests
Diffstat (limited to 'src/test/rustdoc/inline_cross/implementors-js.rs')
-rw-r--r--src/test/rustdoc/inline_cross/implementors-js.rs25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/test/rustdoc/inline_cross/implementors-js.rs b/src/test/rustdoc/inline_cross/implementors-js.rs
deleted file mode 100644
index c79f05d8d3c..00000000000
--- a/src/test/rustdoc/inline_cross/implementors-js.rs
+++ /dev/null
@@ -1,25 +0,0 @@
-// aux-build:implementors_inline.rs
-// build-aux-docs
-// ignore-cross-compile
-
-extern crate implementors_inline;
-
-// @!has implementors/implementors_js/trait.MyTrait.js
-// @has implementors/implementors_inline/my_trait/trait.MyTrait.js
-// @!has implementors/implementors_inline/prelude/trait.MyTrait.js
-// @has implementors_inline/my_trait/trait.MyTrait.html
-// @has - '//script/@src' '../../implementors/implementors_inline/my_trait/trait.MyTrait.js'
-// @has implementors_js/trait.MyTrait.html
-// @has - '//script/@src' '../implementors/implementors_inline/my_trait/trait.MyTrait.js'
-/// When re-exporting this trait, the HTML will be inlined,
-/// but, vitally, the JavaScript will be located only at the
-/// one canonical path.
-pub use implementors_inline::prelude::MyTrait;
-
-pub struct OtherStruct;
-
-impl MyTrait for OtherStruct {
-    fn my_fn(&self) -> OtherStruct {
-        OtherStruct
-    }
-}