about summary refs log tree commit diff
path: root/tests/rustdoc/ice-nested-extern-crate-46271.rs
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-11-20 11:50:18 -0700
committerMichael Howell <michael@notriddle.com>2023-11-20 11:50:18 -0700
commit0f466b06d197729ebeeb72a9503f0a878749ec87 (patch)
treed2b01d50ecca72403516f436c048208fade45cd3 /tests/rustdoc/ice-nested-extern-crate-46271.rs
parent46ecc10c6951a2a0e52d93fe5d3acae9743e3ab9 (diff)
downloadrust-0f466b06d197729ebeeb72a9503f0a878749ec87.tar.gz
rust-0f466b06d197729ebeeb72a9503f0a878749ec87.zip
rustdoc: rename `issue-\d+.rs` tests to have meaningful names
Diffstat (limited to 'tests/rustdoc/ice-nested-extern-crate-46271.rs')
-rw-r--r--tests/rustdoc/ice-nested-extern-crate-46271.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/rustdoc/ice-nested-extern-crate-46271.rs b/tests/rustdoc/ice-nested-extern-crate-46271.rs
new file mode 100644
index 00000000000..b38ef20c551
--- /dev/null
+++ b/tests/rustdoc/ice-nested-extern-crate-46271.rs
@@ -0,0 +1,5 @@
+// hopefully this doesn't cause an ICE
+
+pub fn foo() {
+    extern crate std;
+}