We have a crate for cross-task/thread communication which offers both async and non-async versions of method calls. One thing which has happened a few times is that developers use the non-async version in async scopes.
It would be nice to be able to tag functions so the compiler would warn "This function has an async counter-part, please use that instead" when used in async contexts.
Does some mechanism exist already? If not, is this something anyone else would find useful?