2023-07-05
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 and archives can be viewed at this-week-in-rust.org. If you find any errors in this week's issue, please submit a PR.
This week's crate is rustypaste, a minimal file upload/pastebin service.
Thanks to orhun for the self-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.
ockam credential issue command from Identity to IdentityIdentifier 2ockam project enroll 1ockam project ticket should return a proper error message 1loopcrashbackoff pods as possible targets 1If you are a Rust project owner and are looking for contributors, please submit tasks here.
410 pull requests were merged in the last week
fix(resolve): skip assertion judgment when NonModule is dummy
account for late-bound vars from parent arg-position impl trait
add -Zremark-dir unstable flag to write LLVM optimization remarks to YAML
detect actual span for getting unexpected token from parsing macros
don't perform selection if inherent associated types are not enabled
error when RPITITs' hidden types capture more lifetimes than their trait definitions
fix dropping_copy_types lint from linting in match-arm with side-effects
fix associated items effective visibility calculation for type privacy lints
suggest slice::swap for mem::swap(&mut x[0], &mut x[1]) borrowck error
miri: cargo-miri: better error message when RUSTC is not set
cargo: don't try to compile cargo-credential-gnome-secret on non-Linux platforms
rustdoc: allow whitespace as path separator like double colon
rustdoc: render generic params & where-clauses of cross-crate assoc tys in impls
rustfmt: rewrite float literals ending in dots with parens in method calls
clippy: new lints: manual_try_fold,
needless_raw_string_hashes,
redundant_at_rest_pattern,
tuple_array_conversions,
manual_range_patterns,
type_id_on_box,
needless_pub_self, pub_with_shorthand and pub_without_shorthand
clippy: significant_drop_tightening: fix incorrect suggestion
clippy: arc_with_non_send_sync: don't lint if type has nested type parameters
clippy: let_and_return: lint 'static lifetimes, don't lint borrows in closures
clippy: missing_fields_in_debug: make sure self type is an adt
clippy: needless_raw_string_hashes: only reset hashes needed if not following quote
clippy: option_if_let_else: suggest .as_ref() if scrutinee is of type &Option<_>
clippy: unused_async: don't lint if function is part of a trait
clippy: useless_vec: add more tests and don't lint inside of macros
clippy: don't lint manual_let_else in cases where ? would work
rust-analyzer: disable mir interpreter for targets with different pointer size from host
rust-analyzer: editor/code: enable noImplicitOverride ts option
rust-analyzer: editor/code: use @tsconfig/strictest to define type checking rules
rust-analyzer: don't add panics to error jump list by default
rust-analyzer: fix self and super path resolution in block modules
rust-analyzer: fix data layout of reference to nested unsized structs
rust-analyzer: fix layout of simd types and respect align in mir interpreter
rust-analyzer: fix realloc problem in allocating smaller amounts
rust-analyzer: follow raw pointers in autoderef chain when resolving methods with custom receiver
rust-analyzer: map our diagnostics to rustc and clippy's ones
Rusty Events between 2023-07-05 - 2023-08-02 🦀
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
I'm not here to tell you that Rust is the best language....... you should have figured that out by now.
Thanks to newpavlov 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