9 impl<'a> MethodType for MTFn { //~ ERROR E0207
10 type GetProp = dyn fmt::Debug + 'a;
13 fn bad(a: Box<<MTFn as MethodType>::GetProp>) -> Box<dyn fmt::Debug+'static> {
17 fn dangling(a: &str) -> Box<dyn fmt::Debug> {
22 let mut s = "hello".to_string();