]> git.proxmox.com Git - rustc.git/blob - tests/rustdoc/auxiliary/issue-15318.rs
New upstream version 1.70.0+dfsg1
[rustc.git] / tests / rustdoc / auxiliary / issue-15318.rs
1 // no-prefer-dynamic
2 // compile-flags: -Cmetadata=aux
3 #![crate_type = "rlib"]
4 #![doc(html_root_url = "http://example.com/")]
5 #![feature(rustc_attrs)]
6 #![feature(lang_items)]
7 #![no_std]
8
9 #[lang = "eh_personality"]
10 fn foo() {}
11
12 #[panic_handler]
13 fn bar(_: &core::panic::PanicInfo) -> ! { loop {} }
14
15 /// dox
16 #[rustc_doc_primitive = "pointer"]
17 pub mod ptr {}