2023-08-16
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 agree, a command-line tool implementing Shamir's Secret Sharing.
Thanks to Alexander Weber 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.
If you are a Rust project owner and are looking for contributors, please submit tasks here.
344 pull requests were merged in the last week
Expr::can_have_side_effects() is incorrect for struct/enum/array/tuple literals
rustc_data_structures: base_n perf: remove unnecessary utf8 check
add suggestion to quote inlined format argument as string literal
also consider mem::transmute with the invalid_reference_casting lint
avoid exporting __rust_alloc_error_handler_should_panic more than once
better error handling for rust.codegen-backends on deserialization
bubble up nested goals from equation in predicates_for_object_candidate
coverage: don't convert filename/symbol strings to CString for FFI
coverage: store BCB counter info externally, not directly in the BCB graph
detect method not found on arbitrary self type with different mutability
generate better function argument names in global_allocator expansion
interpret: remove incomplete protection against invalid where clauses
interpret: use ConstPropNonsense for more const-prop induced issues
migrate a trait selection error to use diagnostic translation
open pidfd in child process and send to the parent via SOCK_SEQPACKET+CMSG
record binder for bare trait object in LifetimeCollectVisitor
respect #[expect] the same way #[allow] is with the dead_code lint
restrict linker version script of proc-macro crates to just its two symbols
select obligations before processing wf obligation in compare_method_predicate_entailment
tell LLVM that the negation in <*const T>::sub cannot overflow
add a new compare_bytes intrinsic instead of calling memcmp directly
cargo: bail out an error when using cargo: in custom build script
cargo: fix panic when enabling http.debug for certain strings
cargo: fix: preserve jobserver file descriptors on rustc invocation to get TargetInfo
cargo: prompt the use of --nocapture flag if cargo test process is terminated via a signal
rustfmt: enable rustfmt to compile when using the generic-simd feature
rustfmt: improve formatting of empty macro_rules! definitions
clippy: iter_overeager_cloned: detect .cloned().filter() and .cloned().find()
clippy: filter_map_bool_then: Don't ICE on late bound regions
rust-analyzer: add mir lower support for tuple destructing assignment
rust-analyzer: display fully qualified associated types correctly
rust-analyzer: don't use control flow when extracted fn contains tail expr of original fn
rust-analyzer: fix only_types config filtering out traits from world symbols
rust-analyzer: fix float parser hack creating empty NameRef tokens
rust-analyzer: internal : Deunwrap convert_named_struct_to_tuple_struct
Rusty Events between 2023-08-16 - 2023-09-13 🦀
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
It has been
0
days since someone tried and failed to use unsafe to circumvent the lifetime system.
Thanks to mdHMUpeyf8yluPfXI 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