]>
git.proxmox.com Git - rustc.git/blob - vendor/displaydoc/tests/std/multi_line.rs
1 #![cfg_attr(not(feature = "std"), feature(lang_items, start))]
2 #![cfg_attr(not(feature = "std"), no_std)]
4 #[cfg_attr(not(feature = "std"), start)]
5 fn start(_argc
: isize, _argv
: *const *const u8) -> isize {
8 #[lang = "eh_personality"]
10 #[cfg(not(feature = "std"))]
11 pub extern "C" fn rust_eh_personality() {}
13 #[cfg(not(feature = "std"))]
14 fn panic(_info
: &core
::panic
::PanicInfo
) -> ! {
20 use displaydoc
::Display
;
22 /// this type is pretty swell
34 static_assertions
::assert_impl_all
!(label
; TestType
, core
::fmt
::Display
);
36 #[cfg(feature = "std")]