Skip to content

E0502 practice problems in Rust

Difficulty:
Category:
Tag:

Showing 9 of 9

Status 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
Iterator invalidation, and the bug class that stopped existing Medium
Non-lexical lifetimes: a borrow ends at its last use Easy
Split borrows: the checker reasons about places, not variables Medium
The FnMut borrow gauntlet: a log you can read afterwards Medium
Two-phase borrows: why v.push(v.len()) compiles Hard
What a &mut parameter actually promises Medium