Rust Marker Linter
Version updated for rust-marker/marker to version v0.4.0.
- This action is used across all versions by 5 repositories.
Go to the GitHub Marketplace to find the latest changes.
Release notes
The v0.4.0 milestone contains a full list of all changes.
Added
- #306: The
LintPasstrait now as a newcheck_cratemethod. - #294: Items and fields now provide information about their visibility
Fixed
- #306: Rustc’s driver no longer ICEs on spans from compiler generated code.
Breaking Changes
- #278: Moved the
span()method from the inherent impl toHasSpantrait forClosureParam,FnParam,StructFieldPat. - #278: The trait
TyDatano longer has ownspan()method, but instead requiresHasSpanas a supertrait. - #278: All public methods that took
&Spanas a parameter now takeimpl HasSpan. This is a minor breaking change, as&SpanimplementsHasSpan, but if you relied on type inference based on the function parameter type, then making a method generic may break your code. - #288: Lint identifiers use the lint crate name as a new infix, to prevent name collisions across lint crates.
- #306: The items of a
Crateare now wrapped in aModItem, that is the root module of the crate. - #309: Renamed
CallExpr::operandtoCallExpr::func - #309: Renamed
RefPat::pattern()->RefPat::pat() - #309: Renamed
OrPat::patterns()->RefPat::pats()