Skip to content
Unverified Commit 310fa124 authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

`decl_runtime_apis!` - check that a method without `changed_in` exists (#5635)



* `decl_runtime_apis!` - check that a method without `changed_in` exists

This adds another check to the macro that ensures that not only methods
with `changed_in` exists, but there are also the default methods exist.

* Update primitives/api/proc-macro/src/decl_runtime_apis.rs

Co-Authored-By: default avatarNikolay Volf <[email protected]>

* Fix test

Co-authored-by: default avatarNikolay Volf <[email protected]>
parent 67f354f5
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