about summary refs log tree commit diff
path: root/tests/rustdoc/inline_local
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-11-23 14:54:19 -0700
committerMichael Howell <michael@notriddle.com>2023-11-23 14:54:19 -0700
commitfdde5c77a834c8275c23648ddaca9c18adee07d4 (patch)
treece5fe3b5b462dc47b86af655c5c13e249f6c2aaa /tests/rustdoc/inline_local
parentcbe68435c603da438b8994c1a583b46fc01821cf (diff)
downloadrust-fdde5c77a834c8275c23648ddaca9c18adee07d4.tar.gz
rust-fdde5c77a834c8275c23648ddaca9c18adee07d4.zip
rustdoc: move ICE tests to ui
Diffstat (limited to 'tests/rustdoc/inline_local')
-rw-r--r--tests/rustdoc/inline_local/enum-variant-reexport-46766.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/rustdoc/inline_local/enum-variant-reexport-46766.rs b/tests/rustdoc/inline_local/enum-variant-reexport-46766.rs
new file mode 100644
index 00000000000..ea6b7bac4c7
--- /dev/null
+++ b/tests/rustdoc/inline_local/enum-variant-reexport-46766.rs
@@ -0,0 +1,7 @@
+// https://github.com/rust-lang/rust/issues/46766
+#![crate_name = "foo"]
+
+pub enum Enum{Variant}
+pub use self::Enum::Variant;
+
+// @!has foo/index.html '//a/@href' './Enum/index.html'