Search code examples
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
Struct with a mutable reference to another instance of the same type...


rustborrow-checker

Read More
How to borrow the T from a RefCell<T> as a reference?...


genericsreferencerustborrow-checker

Read More
Rust borrowing with loop and Vec...


rustborrow-checker

Read More
Struct that owns some data and a reference to the data...


rustobject-lifetimeborrow-checker

Read More
Why are we allowed to convert mutable reference to immutable reference?...


rustreferenceborrow-checkermutable-reference

Read More
How to accumulate values in a recursive function?...


recursionrustborrow-checker

Read More
Why does taking a static reference to a const return a reference to a temporary variable?...


rustlifetimeborrow-checker

Read More
Rust E0506 (assignment to borrowed value): "borrow later used here" on seemingly unrelated...


rustborrow-checker

Read More
Move of a struct variable is a "move" but new space in memory is allocated and addresses o...


rustborrow-checker

Read More
BackNext