mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-31 07:59:49 +00:00
sp-api: Improve error message for duplicate runtime apis (#1877)
Co-authored-by: command-bot <>
This commit is contained in:
1 parent
e0e566bc2e
commit
4e98bec3f1
2 files changed
+15
-5
No files matched your search
@@ -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