sp-api: Improve error message for duplicate runtime apis (#1877)

Co-authored-by: command-bot <>
This commit is contained in:
Bastian Köcher
2023-10-16 14:41:44 +02:00
committed by GitHub
parent e0e566bc2e
commit 4e98bec3f1
2 changed files with 15 additions and 5 deletions
@@ -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 {
| ^^^