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

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

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

/// dox
#[rustc_doc_primitive = "pointer"]
pub mod ptr {}