1 error[E0716]: temporary value dropped while borrowed
2 --> $DIR/temporary-value.rs:4:22
4 4 | let _ = anyhow!(&String::new());
5 | ---------^^^^^^^^^^^^^-- temporary value is freed at the end of this statement
7 | | creates a temporary which is freed while still in use
8 | argument requires that borrow lasts for `'static`