1 error: you seem to be trying to use `&Box<T>`. Consider using just `&T`
4 9 | pub fn test1(foo: &mut Box<bool>) {
5 | ^^^^^^^^^^^^^^ help: try `&mut bool`
7 note: lint level defined here
10 4 | #![deny(borrowed_box)]
13 error: you seem to be trying to use `&Box<T>`. Consider using just `&T`
14 --> borrow_box.rs:14:14
16 14 | let foo: &Box<bool>;
17 | ^^^^^^^^^^ help: try `&bool`
19 error: you seem to be trying to use `&Box<T>`. Consider using just `&T`
20 --> borrow_box.rs:18:10
22 18 | foo: &'a Box<bool>
23 | ^^^^^^^^^^^^^ help: try `&'a bool`
25 error: you seem to be trying to use `&Box<T>`. Consider using just `&T`
26 --> borrow_box.rs:22:17
28 22 | fn test4(a: &Box<bool>);
29 | ^^^^^^^^^^ help: try `&bool`
31 error: aborting due to previous error(s)
34 To learn more, run the command again with --verbose.