no-bound derives: Use absolute path for core (#1763)

Closes: https://github.com/paritytech/polkadot-sdk/issues/1718
This commit is contained in:
Bastian Köcher authored and GitHub committed 2023-10-02 06:45:32 +11:00
1 parent 2ed66a0960
commit c54ea64af4
6 files changed
+31 -17

No files matched your search

+14
View File
@@ -647,3 +647,17 @@ fn check_storage_parameter_type_works() {
assert_eq!(300, StorageParameter::get());
})
}
#[test]
fn derive_partial_eq_no_bound_core_mod() {
mod core {}
#[derive(
crate::PartialEqNoBound,
crate::CloneNoBound,
crate::DebugNoBound,
crate::DefaultNoBound,
crate::EqNoBound,
)]
struct Test;
}