mirror of
https://github.com/openharmony/third_party_rust_static-assertions-rs.git
synced 2026-07-20 01:04:23 -04:00
Comment out failing macro
Serves as an example, but shouldn't be emitted because tests will fail.
This commit is contained in:
+1
-1
@@ -6,5 +6,5 @@ extern crate static_assertions;
|
||||
#[test]
|
||||
fn test_eq_size() {
|
||||
assert_eq_size!([u8; 2], u16);
|
||||
assert_eq_size!(u8, u16); // Fails to compile
|
||||
// assert_eq_size!(u8, u16); // Fails to compile
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user