| Error | Don't Just Say | Ask Instead |
| "Need heap allocation" | "Use Box" | Why can't this be on stack? | | Rc memory leak | "Use Weak" | Is the cycle necessary in design? | | RefCell panic | "Use tryborrow" | Is runtime check the right approach? | | Arc overhead complaint | "Accept it" | Is multi-thread access actually needed? |
| Rc vs Arc confusion | m07-concurrency | What's the concurrency model? | | RefCell panics | m03-mutability | Is interior mutability right here? | | Memory leaks | m12-lifecycle | Where should cleanup happen? |
CRITICO: utilizzare per puntatori intelligenti e gestione delle risorse. Trigger: Box, Rc, Arc, Weak, RefCell, Cell, puntatore intelligente, allocazione heap, conteggio dei riferimenti, RAII, Drop, dovrei usare Box o Rc, quando usare Arc vs Rc, 智能指针, 引用计数, 堆分配 Fonte: actionbook/rust-skills.