about summary refs log tree commit diff
path: root/tests/rustdoc/primitive/auxiliary/issue-15318.rs
blob: d3dc89113fc53bcee24fe69462831ec9eb056b24 (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 {}