Move "unused_exter_crate" test from rustdoc-ui to rustdoc
This commit is contained in:
parent
660241d1d4
commit
0881dba5d3
2 changed files with 1 additions and 1 deletions
|
@ -1,17 +0,0 @@
|
|||
//@ no-prefer-dynamic
|
||||
#![crate_type = "lib"]
|
||||
#![no_std]
|
||||
#![feature(lang_items)]
|
||||
|
||||
use core::panic::PanicInfo;
|
||||
use core::sync::atomic::{self, Ordering};
|
||||
|
||||
#[panic_handler]
|
||||
fn panic(_info: &PanicInfo) -> ! {
|
||||
loop {
|
||||
atomic::compiler_fence(Ordering::SeqCst);
|
||||
}
|
||||
}
|
||||
|
||||
#[lang = "eh_personality"]
|
||||
fn foo() {}
|
|
@ -1,2 +0,0 @@
|
|||
//@ check-pass
|
||||
//@ aux-crate:panic_item=panic-item.rs
|
Loading…
Add table
Add a link
Reference in a new issue