Search code examples
How to specify lifetime for referencing a value from an iterator in order to peek its contents?...

rustiteratorborrow-checker

Read More
Best practice for self vs. static struct function to avoid duplicate borrow issue...

ruststructborrow-checkerself

Read More
How do I encapsulate waiting for a `tokio::sync::watch::Receiver` to be `Some`?...

rustasync-awaitborrow-checkerrust-tokio

Read More
Why is "the temporary is part of an expression at the end of a block" an error?...

rustborrow-checkertemporary

Read More
How can I remove all of the outgoing edges for a given node in a GraphMap?...

rustborrow-checkerpetgraph

Read More
Can't understand how did the unique immutable borrows in captures work...

rustborrow-checker

Read More
How can I tell the compiler to release a borrow in a struct without dropping the entire struct?...

rustborrow-checker

Read More
Why do recent versions of Rust allow a `match` expression to return a reference to a temporary?...

rustborrow-checker

Read More
Weird compile-time borrow error when using `RefCell<T>`...

rustborrow-checker

Read More
Rust Errors: Cannot borrow as mutable more than once at a time, cannot borrow as immutable because i...

rustborrow-checker

Read More
Polars Rust Napi borrower checker...

rustborrow-checkerrust-polarspolars

Read More
Why `freq` is no longer valid...

rustborrow-checker

Read More
Confusing Rust lifetime troubles when tring to implement an Iterator with a stored closure...

rustborrow-checker

Read More
Simultaneous Mutable and Immutable HashMap gets...

rusthashmapborrow-checkermutability

Read More
create ListNode from Vec with ref to first Node...

rustborrow-checkerownership

Read More
Why does a | (pipe) in a rust pattern match cause a "value used after move"?...

rustpattern-matchingborrow-checkerrustrover

Read More
Indexing a `HashMap<&String, V>` with `&str`...

rustborrow-checker

Read More
Convert enum to another enum in Rust while selectively moving contained values...

rustenumsborrow-checker

Read More
Why can't I move out of a shared reference to an owned vec which is not used afterwards?...

rustvectorcloneborrow-checkerownership

Read More
Managing lifetime(s) in Rust: How do I ensure that variable(s) live 'long enough'?...

rustborrow-checkerwgpu-rswinit

Read More
Function that returns a value in a HashMap using a parameter requires a lifetime for Struct<'...

rustborrow-checker

Read More
Why does mutation through a trait object fail but mutation through a function pointer work?...

rustcompiler-errorsborrow-checkermutation

Read More
What's the best borrowing accessor pattern for Optional<String>?...

stringrustoption-typeborrow-checkeraccessor

Read More
How do you get around "cannot return value referencing temporary value" generated in a clo...

rustreferenceclosuresborrow-checker

Read More
Rust thinks argument is borrowed in the `impl Trait` return value and complains "borrowed value...

rusttraitslifetimeborrow-checker

Read More
How can I hold ownership of something and call a method on it that moves the object?...

rustborrow-checker

Read More
Does a mutable reference means an ownership loss in Rust?...

rustborrow-checkermutableownership

Read More
Semantics of lifetime parameters...

rustreferencelifetimeborrow-checkerownership

Read More
Why does Rust prevent multiple mutable references even without multi-threading?...

multithreadingrustborrow-checker

Read More
Why can't I store a value and a reference to that value in the same struct?...

rustreferencelifetimeborrow-checker

Read More
BackNext