error: local variable doesn't need to be boxed here --> $DIR/escape_analysis.rs:33:9 | 33 | let x = box A; | ^ | note: lint level defined here --> $DIR/escape_analysis.rs:5:9 | 5 | #![deny(boxed_local)] | ^^^^^^^^^^^ error: local variable doesn't need to be boxed here --> $DIR/escape_analysis.rs:37:13 | 37 | fn warn_arg(x: Box) { | ^ error: local variable doesn't need to be boxed here --> $DIR/escape_analysis.rs:49:9 | 49 | let y = x; | ^ error: local variable doesn't need to be boxed here --> $DIR/escape_analysis.rs:54:9 | 54 | let bz = box A; | ^^ error: local variable doesn't need to be boxed here --> $DIR/escape_analysis.rs:58:9 | 58 | let bz = box A; | ^^ error: local variable doesn't need to be boxed here --> $DIR/escape_analysis.rs:88:9 | 88 | let x = box A; | ^ error: local variable doesn't need to be boxed here --> $DIR/escape_analysis.rs:101:9 | 101 | let x = box A; | ^ error: local variable doesn't need to be boxed here --> $DIR/escape_analysis.rs:130:12 | 130 | pub fn new(_needs_name: Box>) -> () { | ^^^^^^^^^^^ error: aborting due to 8 previous errors