mirror of
https://github.com/openharmony/third_party_rust_static-assertions-rs.git
synced 2026-07-19 16:53:36 -04:00
[Tests] Fix same label failure macro
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ extern crate static_assertions;
|
||||
assert_eq_size!(byte; u8, u8, (u8,), [u8; 1]);
|
||||
|
||||
#[cfg(feature = "failure")]
|
||||
const_assert!(byte; u8, u8);
|
||||
assert_eq_size!(byte; u8, u8);
|
||||
|
||||
// Placed in separate module so that DropCounter's fields are private
|
||||
mod dc {
|
||||
|
||||
Reference in New Issue
Block a user