mirror of
https://github.com/openharmony/third_party_rust_static-assertions-rs.git
synced 2026-07-18 16:24:26 -04:00
Add more thorough test for assert_ne_type!
This commit is contained in:
@@ -29,7 +29,9 @@
|
||||
/// ```compile_fail
|
||||
/// # #[macro_use] extern crate static_assertions;
|
||||
/// # fn main() {
|
||||
/// assert_ne_type!(std::os::raw::c_uchar, u8);
|
||||
/// assert_ne_type!(std::os::raw::c_uchar, u8, u32);
|
||||
/// assert_ne_type!(std::os::raw::c_uchar, u32, u8);
|
||||
/// assert_ne_type!(u32, std::os::raw::c_uchar, u8);
|
||||
/// # }
|
||||
/// ```
|
||||
#[macro_export(local_inner_macros)]
|
||||
|
||||
Reference in New Issue
Block a user