W2007
Warning code: the run goes on. Raised by: plugin manifests and contract resolution.
Cause
<plugin> uses <item>, deprecated since <contract> <since>; use <replacement> instead.
Fix
Replace <item> with <replacement> in plugin.toml and the plugin code before it is removed.
What the engine prints
The message names the code, then where the problem is when it has a place in a file, then the fix. Words in angle brackets are filled in with the names and values of your file.
warning[W2007]: <plugin> uses <item>, deprecated since <contract> <since>; use <replacement> instead.
--> <file>:<line>:<column>
= fix: Replace <item> with <replacement> in plugin.toml and the plugin code before it is removed.
With --json, the same diagnostic is one JSON object with the fields code, severity, file, line, column, rule, fix and args.
Values filled in
plugin, item, contract, since, replacement.
Generated from schemas/messages/en.toml. Do not edit. This page (code W2007) is built from the engine sources at every documentation build. To change it, edit the W2007 rule and fix in the English message catalogue (crates/cohortix-schema/messages/en.toml, published as schemas/messages/en.toml) and open a pull request.