2021-06-15 16:08:18 +02:00
|
|
|
#![feature(intrinsics)]
|
2025-02-03 19:00:20 +00:00
|
|
|
#![feature(no_core, lang_items)]
|
2022-08-17 13:43:59 +02:00
|
|
|
#![feature(rustc_attrs)]
|
2021-06-15 16:08:18 +02:00
|
|
|
|
|
|
|
#![no_core]
|
|
|
|
#![crate_name = "foo"]
|
|
|
|
|
2025-02-03 19:00:20 +00:00
|
|
|
#[lang = "sized"]
|
|
|
|
trait Sized {}
|
|
|
|
|
2024-11-07 08:59:43 +01:00
|
|
|
//@ has 'foo/fn.abort.html'
|
|
|
|
//@ has - '//pre[@class="rust item-decl"]' 'pub fn abort() -> !'
|
|
|
|
#[rustc_intrinsic]
|
2025-02-23 17:34:50 +01:00
|
|
|
pub fn abort() -> !;
|
2024-11-07 08:59:43 +01:00
|
|
|
//@ has 'foo/fn.unreachable.html'
|
|
|
|
//@ has - '//pre[@class="rust item-decl"]' 'pub unsafe fn unreachable() -> !'
|
|
|
|
#[rustc_intrinsic]
|
2025-02-23 17:34:50 +01:00
|
|
|
pub unsafe fn unreachable() -> !;
|