Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in borrow-checker

How do I get a function to return a Vec of string-like things?

rust borrow-checker

Will the non-lexical lifetime borrow checker release locks prematurely?

rust mutex raii borrow-checker

Why can the Rust compiler break borrowing rules when using Rust 1.31?

"borrowed value does not live long enough" with a generic function that returns impl trait

How are return values of type `impl Trait` borrow-checked?

rust borrow-checker

What does "borrowed data cannot be stored outside of its closure" mean?

Why is it possible to return a mutable reference to a literal from a function?

rust borrow-checker

Pushing something into a vector depending on its last element

rust borrow-checker

Why rust ignore lifetime checks on &str?

Swapping two local references leads to lifetime error

How to tell the borrow checker that a cleared Vec contains no borrows? [duplicate]

rust borrow-checker

What is Rust's borrow checker really complaining about here?

rust borrow-checker

How to convert C variable-length array code to Rust?

Is it possible to borrow parts of a struct as mutable and other parts as immutable?

rust borrow-checker

Why nested iterator closures won't copy values from outer scope

Can't borrow mutably within two different closures in the same scope

How to move values out of a vector when the vector is immediately discarded?

rust borrow-checker

How to reason formally about programs using non lexical lifetimes

rust borrow-checker