Check existence of arguments to tracing::instrument's skip attribute #562
Labels
crate/attributes
Related to the `tracing-attributes` crate
good first issue
Good for newcomers
kind/feature
New feature or request
Feature Request
The arguments to
tracing::instrument
'sskip
attribute are prone to get out of date, because there is no checking that a parameter of the provided name actually exists.For example,
There is no argument called
XYZ
, but there is no error or warning indicating that. So whenever there is a rename of an argument chances are that an adjustment of theskip
list is forgotten.Crates
tracing 0.1.12
The text was updated successfully, but these errors were encountered: