You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using attributes which are always-true or always-false under this would then warn/error about being a tautology. This would help make sure that as the minimum version is bumped, old code/checks go away.
It would also act as documentation for the minimum version allowed. (AFAIK, still waiting on that field in Cargo.toml).
The text was updated successfully, but these errors were encountered:
This allows crates to declare the minimum supported version in their
code. Further use of `#[rustc]` attributes will then error if a
tautology is discovered.
Missing:
- [ ] documentation updates
- [ ] error impls/messages
- [ ] test cases
Fixes: dtolnay#4
Using attributes which are always-true or always-false under this would then warn/error about being a tautology. This would help make sure that as the minimum version is bumped, old code/checks go away.
It would also act as documentation for the minimum version allowed. (AFAIK, still waiting on that field in
Cargo.toml
).The text was updated successfully, but these errors were encountered: