2023-04-12
Hello and welcome to another issue of This Week in Rust! Rust is a programming language empowering everyone to build reliable and efficient software. This is a weekly summary of its progress and community. Want something mentioned? Tag us at @ThisWeekInRust on Twitter or @ThisWeekinRust on mastodon.social, or send us a pull request. Want to get involved? We love contributions.
This Week in Rust is openly developed on GitHub. If you find any errors in this week's issue, please submit a PR.
This week's crate is spacedisplay, a small terminal app for analyzing used disk space.
Thanks to Sviatoslav Kokurin for the suggestion!
Please submit your suggestions and votes for next week!
Always wanted to contribute to open-source projects but did not know where to start? Every week we highlight some tasks from the Rust community for you to pick and get started!
Some of these tasks may also have mentors available, visit the task page for more information.
derive(Diagnostic) / struct-based diagnostics (rust#100717)missing_fields in a requestget_required_value to use ValidationError in OptionExtIf you are a Rust project owner and are looking for contributors, please submit tasks here.
385 pull requests were merged in the last week
add ability to transmute (somewhat) with generic consts in arrays
allow transmutes to produce OperandValues instead of needing allocas
diagnostics: account for glob shadowing when linting redundant imports
diagnostics: account for self type when looking for source of unsolved type variable
emit feature error for parenthesized generics in associated type bounds
fix buffer overrun in bootstrap and (test-only) symlink_junction
fix issue when there are multiple candidates for edit_distance_with_substrings
more descriptive error when qself path doesnt have a trait on the RHS of as
prioritize param env candidates if they don't guide type inference
cargo: add try_canonicalize and use it over std::fs::canonicalize
cargo: fix Cargo warning about unused sparse configuration key
rustdoc: avoid including line numbers in Google SERP snippets
rustdoc: make intra-doc link pass non-quadratic for repeated links
clippy: needless_return: do not trigger on ambiguous match arms return
clippy: fix mem_replace_option_with_none not considering field variables
clippy: fix single_component_path_imports false positive on self::<import>::..
clippy: fix bug with getting parent directories in lookup_conf_file
clippy: make redundant_async_block a more complete late pass
rust-analyzer: assist: autoderef in generate delegate methods
rust-analyzer: fix block local impl trait solving regressions
rust-analyzer: fix vscode project linking popup buttons being swapped
rust-analyzer: normalize associated types in paths in expressions
Rusty Events between 2023-04-12 - 2023-05-10 🦀
If you are running a Rust event please add it to the calendar to get it mentioned here. Please remember to add a link to the event too. Email the Rust Community Team for access.
Please see the latest Who's Hiring thread on r/rust
As an expert at being ignorant of what
Pindoes, I can assert with expertise that other ignorant readers have a hard time withPin.
Thanks to bugaevc for the suggestion!
Please submit quotes and vote for next week!
This Week in Rust is edited by: nellshamrell, llogiq, cdmistman, ericseppanen, extrawurst, andrewpollack, U007D, kolharsam, joelmarcey, mariannegoldin, bennyvasquez.
Email list hosting is sponsored by The Rust Foundation