mirror of
https://github.com/openharmony/third_party_rust_static-assertions-rs.git
synced 2026-07-20 19:57:16 -04:00
11 lines
173 B
Rust
11 lines
173 B
Rust
#![no_std]
|
|
#![deny(unsafe_code)]
|
|
|
|
#[macro_use]
|
|
extern crate static_assertions;
|
|
|
|
assert_obj_safe!(core::fmt::Debug, Send, Sync);
|
|
|
|
trait ObjSafe {}
|
|
assert_obj_safe!(ObjSafe);
|