blob: 591b84f330b7d95add8a5e106a3df21bffc4d631 [file] [log] [blame]
//@ compile-flags: -Z track-diagnostics
//@ dont-require-annotations: NOTE
// Normalize the emitted location so this doesn't need
// updating everytime someone adds or removes a line.
//@ normalize-stderr: ".rs:\d+:\d+" -> ".rs:LL:CC"
fn main() {
let _moved @ _from = String::from("foo");
//~^ ERROR use of moved value
//~| NOTE created at
}