Language - Allow shortening lifetime of &mut when unsize-coercing, even in an invariant position. For example, you can now coerce a Cell to a Cell . Such shortenings were already previously allowed when coercing a &mut to a &, or coercing a & to a &. - Add deny-by-default invalid_runtime_symbol_definitions lint and warn-by-default suspicious_runtime_symbol_definitions lint - The lints currently specifically targets…
Release
- Version
- 1.98.0
- Released
- Release notes
- Rust Blog