Search code examples
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
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
How to resolve "cannot move out of borrowed content" due to filtering read_dir output?...


rustborrow-checker

Read More
How can I make Rust, with the Rodio crate, load multiple sources in a Vec, so I can play them later ...


rustaudioborrow-checkerrodio

Read More
How to both modify and return self from method?...


rustborrow-checker

Read More
How to combine pairs of items from a Vec in a way that consumes the second?...


rustvectorborrow-checker

Read More
How to check geometry type from geo_types...


rustgeometryborrow-checker

Read More
Using a closure as while loop condition in struct's method which requires a reference to self, i...


rustborrow-checker

Read More
Lifetime of a mutable reference...


rustborrow-checker

Read More
Cannot borrow data in 'Rc' as mutable...


rustborrow-checkerdereferenceraytracing

Read More
How to extract Rust code with nested borrows / NLLs into a function...


rustborrow-checker

Read More
Borrowing in Rust...


rustlifetimeborrow-checker

Read More
Rust Reborrowing Shared Reference from Mutable Reference...


rustlifetimeborrow-checkerownershipmutable-reference

Read More
Rust compiler insists that I am passing an owned value, but it looks like it is behind a '&&...


rustborrow-checker

Read More
BackNext