Unverified Commit 882b4dde authored by Robin Freyler's avatar Robin Freyler Committed by GitHub
Browse files

improve macro hygiene in message and constructor selector namespace types (#936)

parent 511b9c68
Pipeline #158740 passed with stages
in 29 minutes and 9 seconds
......@@ -171,7 +171,7 @@ impl Dispatch<'_> {
// - The `ID` const parameter uniquely identifies one of the ink! messages
// implemented by the root smart contract.
#[doc(hidden)]
pub struct #message_namespace<const ID: u32> {}
pub struct #message_namespace<const ID: ::core::primitive::u32> {}
// Selector namespace for ink! constructors of the root smart contract.
//
......@@ -182,7 +182,7 @@ impl Dispatch<'_> {
// - The `ID` const parameter uniquely identifies one of the ink! constructors
// implemented by the root smart contract.
#[doc(hidden)]
pub struct #constructor_namespace<const ID: u32> {}
pub struct #constructor_namespace<const ID: ::core::primitive::u32> {}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment