Ask your AI Ask your AI to turn this code into a guided bug-finding exercise.
Claude ChatGPT I am reading "What does this program print?" on CodeWiki (https://codewiki.com/practice/predict/rust/box-rc-arc/predict-box-move/).
Context (verbatim from the page):
"""
fn main() {
let label = Box::new(String::from("alpha"));
let moved = label;
println!("{moved}");
}
"""
Introduce three subtle bugs into the example above and let me find them. Reveal each answer only after I have guessed.
Answer in English. Keep code examples in rust. Where you are unsure, say so.