summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/auxiliary/issue-15318.rs
blob: 695fa58ef1d55e500eae3c71fabe2f545cfb15be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// no-prefer-dynamic
// compile-flags: -Cmetadata=aux
#![crate_type = "rlib"]
#![doc(html_root_url = "http://example.com/")]
#![feature(lang_items)]
#![no_std]

#[lang = "eh_personality"]
fn foo() {}

#[panic_handler]
fn bar(_: &core::panic::PanicInfo) -> ! { loop {} }

/// dox
#[doc(primitive = "pointer")]
pub mod ptr {}