mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 05:17:58 +00:00
sp-api: Improve error message for duplicate runtime apis (#1877)
Co-authored-by: command-bot <>
This commit is contained in:
@@ -3,3 +3,9 @@ error: Two traits with the same name detected! The trait name is used to generat
|
||||
|
|
||||
41 | impl second::Api<Block> for Runtime {
|
||||
| ^^^
|
||||
|
||||
error: First trait implementation.
|
||||
--> tests/ui/impl_two_traits_with_same_name.rs:37:13
|
||||
|
|
||||
37 | impl self::Api<Block> for Runtime {
|
||||
| ^^^
|
||||
|
||||
Reference in New Issue
Block a user