mirror of
https://github.com/openharmony/third_party_rust_bindgen.git
synced 2026-07-20 04:03:53 -04:00
41163f9d25
This test derives PartialEq for the Test struct, and then attempts to use that by calling assert_ne! on two Test instances. If the derive callback doesn't work, no PartialEq will be present and the test will fail to compile.