(_: &'a ())
| 174 | non_static_type_id::<*const u8>() |
| 175 | ); |
| 176 | fn f<'a>(_: &'a ()) { |
| 177 | assert_eq!( |
| 178 | non_static_type_id::<&'static [u8]>(), |
| 179 | non_static_type_id::<&'a [u8]>() |
| 180 | ); |
| 181 | assert_eq!( |
| 182 | non_static_type_id::<&'static ()>(), |
| 183 | non_static_type_id::<&'a ()>() |
| 184 | ); |
| 185 | } |
| 186 | f(&()); |
| 187 | } |
| 188 |
no outgoing calls