Search code examples
Rust borrow checker throwing error in if statement...


rustreferencelifetimeborrow-checkerborrowing

Read More
Does Rust narrow lifetimes to satisfy constraints defined on them?...


rustreferencelifetimeborrow-checkerborrowing

Read More
Why can't I make a static reference to a value that never goes out of scope?...


rustreferencelifetimeborrow-checkerborrowing

Read More
ref to 'static does not live long enough?...


rustlifetimeborrow-checkerborrowingborrow

Read More
Borrowing mutable references in closure to sort vector...


rustreferenceclosuresborrow-checkerborrowing

Read More
Is there a difference between using a reference, and using an owned value in Rust?...


rustreferenceborrow-checkerownershipborrowing

Read More
Why can you borrow a mutable reference and still use both?...


rustlifetimerust-cargoborrow-checkerborrowing

Read More
How can multiple parts of self be borrowed here? Isn't self borrowed mutably as well as immutabl...


rustlifetimeselfborrow-checkerborrowing

Read More
What is the correct return type of a function returning an iterator produced with a closure borrowin...


rustclosureslifetimeborrow-checkerborrowing

Read More
Wrapping code in helper function verbatim leads to borrow error...


rustreferencelifetimeborrow-checkerborrowing

Read More
Recursive type - lifetime issues...


rustreferencelifetimeborrow-checkerborrowing

Read More
immutable value is still being moved...


rustclosuresborrow-checkerownershipborrowing

Read More
Mutability in a struct...


rustreferenceborrow-checkerborrowingmutability

Read More
Opposite of Borrow trait for Copy types?...


rusttraitsownershipborrowing

Read More
How to generate iterator with sliding window pairs?...


rustiteratorborrow-checkerborrowing

Read More
Why rust ignore lifetime checks on &str?...


rustlifetimeborrow-checkerownershipborrowing

Read More
Rust Double Reference Value...


rustreferenceborrow-checkerownershipborrowing

Read More
What does it mean when a generic type is bounded by a generic lifetime?...


genericsrustlifetimeborrow-checkerborrowing

Read More
How do intertwined scopes create a "data race"?...


rustreferenceborrow-checkerborrowingmutability

Read More
Map from Rc<RefCell<T>> to Ref<'_, U>...


rustreferenceborrow-checkerreference-countingborrowing

Read More
Changing enum value of struct in iterator...


rustiteratorclosuresownershipborrowing

Read More
Share variables between 2 structs...


rustreferenceimmutabilityownershipborrowing

Read More
How to read & modify value of node in linked tree?...


rusttreereference-countingborrowinginterior-mutability

Read More
Why does destructuring a borrowed Enum require dereferencing its fields?...


rustreferencepattern-matchingborrow-checkerborrowing

Read More
How to resolve "indicate anonymous lifetime <'_>" error?...


rustreferencelifetimeborrow-checkerborrowing

Read More
Implementing a trait method returning a bounded lifetime reference for owned type...


rusttraitslifetimeborrowing

Read More
Borrowing and temporary variables in hashmap is throwing circular errors...


rustborrowing

Read More
Rust : insert uint in hashmap reference...


rustreferencehashmapborrowing

Read More
Rust struct within struct: borrowing, lifetime, generic types and more total confusion...


structrustborrowing

Read More
How to decide when function input params should be references or not?...


rustownershipborrowing

Read More
BackNext