Skip to content

E0502 practice problems in Rust

Difficulty:
Category & tags Filters active
Category:
Tag:

Showing 9 of 9

Title Difficulty
Capstone: an ownership-only job scheduler Hard
E0502: cannot borrow as mutable because also borrowed as immutable Easy
How to read a borrow-check diagnostic Easy
Non-lexical lifetimes: a borrow ends at its last use Easy
Read a log after its closure finishes Medium
Remove matching values without invalidating iteration Medium
Split borrows: the checker reasons about places, not variables Medium
Two-phase borrows: why v.push(v.len()) compiles Hard
What a &mut parameter actually promises Medium