5 #![allow(blacklisted_name)]
6 #![allow(unused_variables)]
9 pub fn test1(foo: &mut Box<bool>) {
22 fn test4(a: &Box<bool>);
25 impl<'a> Test4 for Test3<'a> {
26 fn test4(a: &Box<bool>) {
33 pub fn test5(foo: &mut Box<Any>) {
46 fn test8(a: &Box<Any>);
49 impl<'a> Test8 for Test7<'a> {
50 fn test8(a: &Box<Any>) {
55 pub fn test9(foo: &mut Box<Any + Send + Sync>) {
60 let foo: &Box<Any + Send + 'static>;
64 foo: &'a Box<Any + Send>
68 fn test4(a: &Box<Any + 'static>);
71 impl<'a> Test12 for Test11<'a> {
72 fn test4(a: &Box<Any + 'static>) {
78 test1(&mut Box::new(false));
80 test5(&mut (Box::new(false) as Box<Any>));
82 test9(&mut (Box::new(false) as Box<Any + Send + Sync>));