From b84f4cc39e99f801dcd37125dffa67eb796c85b8 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Mon, 5 May 2025 17:01:08 +0200 Subject: Created `tests/rustdoc/impl` subfolder to limit number of files at the top level --- tests/rustdoc/constant/const-underscore.rs | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/rustdoc/constant/const-underscore.rs (limited to 'tests/rustdoc/constant/const-underscore.rs') diff --git a/tests/rustdoc/constant/const-underscore.rs b/tests/rustdoc/constant/const-underscore.rs new file mode 100644 index 00000000000..fafc4b4e25c --- /dev/null +++ b/tests/rustdoc/constant/const-underscore.rs @@ -0,0 +1,7 @@ +//@ compile-flags: --document-private-items + +//@ !has const_underscore/constant._.html +const _: () = { + #[no_mangle] + extern "C" fn implementation_detail() {} +}; -- cgit 1.4.1-3-g733a5