Search code examples
Move of a struct variable is a "move" but new space in memory is allocated and addresses o...


rustborrow-checker

Read More
How to move an opaque value like a hot potato from one Enum constructor to the next to the next?...


rustlifetimeborrow-checkerlinear-types

Read More
Mutably borrowing last initialized node of a tree...


rustborrow-checker

Read More
Modify HashMap with values from other HashMap whose keys are borrowed from the first one...


rustborrow-checker

Read More
Tell the Rust compiler that a returned value doesn't hold the reference provided in the construc...


rustreferencereturn-valueborrow-checker

Read More
Why Rust prevents from multiple mutable references?...


multithreadingrustborrow-checkerborrowing

Read More
self-related borrowing error which I can't understand...


rustborrow-checker

Read More
Immutable and mutable borrows in Rust...


rustscopeborrow-checker

Read More
what is the best "Rust" way to keep read-write control on the object that is already mutab...


rustborrow-checker

Read More
Why can't I borrow as mutable more than once at a time in this example?...


rustborrow-checkermutability

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


rustborrow-checker

Read More
Confused about creating longer lived reference to String...


rustreferenceborrow-checker

Read More
How to tell the Rust compiler that you have handled "Value used here after move" case...


rustborrow-checker

Read More
Getting "temporary value dropped while borrowed" when trying to update an Option<&s...


loopsrustborrow-checker

Read More
How to correctly re-arrange the code to bypass Rust borrow checker?...


rustborrow-checker

Read More
What is this rust code to remove duplicates from an unsorted linked list doing on a low-level in the...


rustborrow-checkerownership

Read More
Bypass borrow checker in file chain implementation...


rustioborrow-checker

Read More
Why don't Deref-like traits compose?...


rusttraitslifetimeborrow-checker

Read More
Return value from Rust function cannot reference local or temporary variable...


rustborrow-checker

Read More
Rust - Converting from `&str` to `String` and back with Closures...


rustclosuresborrow-checkerownershipborrowing

Read More
Won't Rust allow me to lend a variable twice?...


rustborrow-checker

Read More
How to deal with "no method named `clone` found" for third-party struct...


rustborrow-checker

Read More
How to please the borrow checker when trying to reuse a Vec with a lifetime...


rustlifetimeborrow-checker

Read More
How to pass a struct implementing multiple traits to a function accepting those traits as &mut?...


rustreferencetraitsborrow-checkermutable

Read More
Why am I getting 'borrow of moved value here' error after using dbg!()?...


rustborrow-checker

Read More
How can I use long-lived (near-static) borrows in Rust?...


rustborrow-checker

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


rustreferencelifetimeborrow-checker

Read More
How does map take partial ownership though an immutable reference...


dictionaryrustiteratorborrow-checker

Read More
Spawning asynchronous task with a variable reference and exiting the root method "prematurely&q...


asynchronousrustmemoryreferenceborrow-checker

Read More
how to reverse a list without moving in rust...


rustreverseborrow-checker

Read More
BackNext