Search code examples
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
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
RP2040, reconciling ownership and glitchy hardware...


rustborrow-checkerrp2040

Read More
Value borrow issue in Rust with bufreader...


rustborrow-checker

Read More
How to avoid reinstantiating regex multiple times?...


rustborrow-checker

Read More
How to get multiple mutable references to elements in a Vec?...


vectorrustreferenceborrow-checkerborrowing

Read More
How to create a self referential struct?...


rustlifetimeborrow-checkerunsafe

Read More
How to avoid a clone when passing a value to a consuming function, but needing it back in the event ...


rusterror-handlingcloneborrow-checkerownership

Read More
rustlings move_semantics2 why passing reference doest not work?...


rustborrow-checkerownership

Read More
How to fix my code so the HashMap hmap_for_data holds the counts of items in immutable vector aux_ve...


rustborrow-checker

Read More
How can I pass a reference to a closure in Rust?...


rustreferenceclosuresborrow-checker

Read More
Can I Prove Monotonicity of Allocations to the Rust Borrow Checker...


rustmemory-managementstatic-analysisborrow-checkermutable

Read More
BackNext