Search code examples
How to pass a set of mutable vectors to a callback repeatedly?...


rustborrow-checker

Read More
How Do I Use RefCell Correctly?...


rustborrow-checkerrefcell

Read More
Does Rust implicitly add bounds to generic lifetime parameters?...


rustborrow-checker

Read More
Prevent “cannot borrow `*self` as immutable because it is also borrowed as mutable” when accessing d...


rustborrow-checker

Read More
Dropping optional borrow in structure...


rustborrow-checker

Read More
Borrowed value does not live long enough for generic lifetime...


rustiteratorlifetimeborrow-checker

Read More
Rust global variable lifetime safety...


rustlifetimeborrow-checkermemory-safety

Read More
Rust lifetime mismatch - 'a does not necessarily outlive lifetime as defined here...


rustborrow-checker

Read More
Why does the presence of the drop method cause the borrow checker to become unhappy?...


rustborrow-checkerdrop

Read More
How to return a reference to an Rc<RefCell<HashMap<K, V>> value?...


rustborrow-checkerrefcell

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


vectorrustreferenceborrow-checkerborrowing

Read More
Borrow Checker being very careful, ' ' is a reference, so the data it referes to cannot be b...


rustborrow-checker

Read More
Handling of async callback that mutates the environment...


rustborrow-checker

Read More
Cannot move out of borrowed content / cannot move out of behind a shared reference...


referencerustmove-semanticsborrow-checker

Read More
How to fix this lifetime-related error happen when using the Fn trait?...


testingrustcompiler-errorsborrow-checker

Read More
Rust borrow checker: "cannot borrow `...` as immutable because it is also borrowed as mutable [...


sortingrustmemoryborrow-checker

Read More
Why does this code that moves a closure into another closure and returns both even compile?...


rustclosuresborrow-checker

Read More
If the return value of a function has the same lifetime as one of the arguments, then the return val...


rustlifetimeborrow-checker

Read More
Safely terminate running threads inside a ThreadPool?...


rustborrow-checkerownership

Read More
Moved variable forbids to borrow itself ("dropped here while still borrowed")...


rustmovelifetimeborrow-checker

Read More
Question about Rust bracket operator plus ampersand...


rustscopeborrow-checker

Read More
Is there a way to release and recapture references in closures while iterating?...


loopsrustiteratorborrow-checker

Read More
Converting Option<String> to Option<&str> in match statement...


rustborrow-checker

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


rustborrow-checker

Read More
Why does this conditional assignment give a borrow error when inside a loop but not outside?...


rustborrow-checker

Read More
How do I move a Sender object out of a mutable reference to a Vector of tuples of Strings and Sender...


rustvectormove-semanticsborrow-checkerrust-tokio

Read More
Why does a refcell borrowed within an expression live longer than intended (while borrowing to a var...


rustborrow-checkerrefcell

Read More
Why does this rust borrow checker doesn't reject this code?...


rustlifetimeborrow-checker

Read More
Why does this mutable borrow live beyond its scope?...


rustborrow-checker

Read More
How to return the result of serde_json::from_str when called with a String that will be dropped at t...


rustlifetimeborrow-checker

Read More
BackNext