Search code examples
Why does this mutable borrow live beyond its scope?...

rustborrow-checker

Read More
Porting C Code with Mutable Borrows - Error During Runtime (nappgui Example)...

rustborrow-checker

Read More
How do I initialize two variables in match statement without angering borrow checker?...

rusttuplesborrow-checkerrusqlite

Read More
Return owned value and reference to value...

rustborrow-checkerownership

Read More
Rust: return immutable borrow after modifying...

rustborrow-checker

Read More
Cannot borrow *self as immutable, but I cannot find a way around...

rustborrow-checker

Read More
Borrow some mutable value twice when the mutable value is known to be immutable...

rustborrow-checker

Read More
Why does my function not drop the borrowed immutable reference?...

rustreferenceborrow-checker

Read More
Looking for an idiomatic way to build a singly-linked list in Rust iteratively, with a step-by-step ...

rustborrow-checker

Read More
Why is my type-parameter in this impl block unconstrained?...

genericsrusttraitsborrow-checker

Read More
Mutable borrow problem with inserting Vacant entry into HashMap...

rustborrow-checker

Read More
What structure can be made to avoid having to use RefCell?...

recursionrustborrow-checkerrefcell

Read More
Is it valid in Rust to cast a Mutable Reference -> Immutable Reference -> Mutable Reference...

rustborrow-checker

Read More
How to best parallelize code modifying several slices of the same Rust vector?...

rustparallel-processingborrow-checkerunsaferayon

Read More
Why does Rust's borrow checker complain when using an iterator returned from a method, but not w...

rustborrow-checker

Read More
How to avoid cloning a big integer in rust...

referencerustpass-by-referencebigintegerborrow-checker

Read More
What would be a Rust idiomatic way to have a vector of traits with aliases for individual vector ite...

rusttraitsborrow-checkerunsafe

Read More
Can I mutably borrow a hashmap entry while the hashmap itself is immutably borrowed?...

rusthashmapborrow-checker

Read More
Modify value in HashMap while immutably borrowing the whole HashMap...

rustborrow-checker

Read More
UnsafeCell getting mutable reference from a function: cannot return reference to a temporary value...

pointersrustlifetimeborrow-checkerunsafe

Read More
How to return reference to value inside Rc<RefCell<Node>>...

rustborrow-checkerownershipinterior-mutability

Read More
How to iterate over a vec in Rust and make changes?...

rustborrow-checker

Read More
Replacing unwrap() with question mark causes borrow checker error...

parsingrustborrow-checker

Read More
Unwrap enum variant and return either owned value or reference...

rustenumsborrow-checker

Read More
Is there a way to elegantly solve `move behind a mutable reference` without implementing the `Copy` ...

rustmergesortborrow-checker

Read More
Why can I call File.take() on a reference?...

filerustimmutabilityborrow-checker

Read More
Why can I shadow a variable which has been borrowed before? Where is the owner?...

rustborrow-checkerownershipshadowingownership-semantics

Read More
cannot return value referencing local data...

rustborrow-checker

Read More
Rust add bound to borrowed type...

rusttraitsborrow-checkerboundsrust-diesel

Read More
Modify an array of slices/references...

rustsliceborrow-checker

Read More
BackNext