Rust 1.58.0 Release Notes
// RUST-RELEASE-NOTES— official release note timeline
Rust 1.58.0 공식 release note를 기준으로, 섹션별 앞쪽 항목을 발췌해 변화 흐름을 빠르게 훑을 수 있게 정리했습니다.
범위
- 대상 릴리즈: Rust 1.58.0
- 포함된 릴리즈 수: 1개
- 생성 경로:
scripts/bloggen.py rust-release-docs - 생성일:
2026-07-08 - 원문: rust-lang/rust RELEASES.md
읽는 법
- 이 문서는 해당 Rust 릴리즈 하나만 다룹니다.
- 섹션별 최대 3개 앞쪽 항목만 발췌했으므로, 세부 API 목록은 원문 링크를 확인하세요.
- Compatibility Notes는 업그레이드 전 회귀 위험을 확인하는 체크리스트로 보면 됩니다.
타임라인
Rust 1.58.0 (2022-01-13)
- Language
- Format strings can now capture arguments simply by writing
{ident}in the string. This works in all macros accepting format strings. Support for this inpanic!(panic!("{ident}")) requires the 2021 edition; panic invocations in previous editions that appear to be trying to use this will result in a warning lint about not having the… *const Tpointers can now be dereferenced in const contexts.- The rules for when a generic struct implements
Unsizehave been relaxed.
- Format strings can now capture arguments simply by writing
- Compiler
- Add LLVM CFI support to the Rust compiler
- Stabilize -Z strip as -C strip. Note that while release builds already don't add debug symbols for the code you compile, the compiled standard library that ships with Rust includes debug symbols, so you may want to use the
stripoption to remove these symbols to produce smaller release binaries. Note that this release only includes support in rustc, not d… - Add support for LLVM coverage mapping format versions 5 and 6
- 그 외 6개 항목은 원문 참고
- Libraries
- All remaining functions in the standard library have
#[must_use]annotations where appropriate, producing a warning when ignoring their return value. This helps catch mistakes such as expecting a function to mutate a value in place rather than return a new value. - Paths are automatically canonicalized on Windows for operations that support it
- Re-enable debug checks for
copyandcopy_nonoverlapping - 그 외 3개 항목은 원문 참고
- All remaining functions in the standard library have
- Stabilized APIs
Metadata::is_symlinkPath::is_symlink{integer}::saturating_div- 그 외 12개 항목은 원문 참고
- Cargo
- Add --message-format for install command
- Warn when alias shadows external subcommand
- Rustdoc
- Show all Deref implementations recursively in rustdoc
- Use computed visibility in rustdoc
Sources
- Rust release notes — official rust-lang/rust release notes.