2022-06-30 12:35:50 -05:00
|
|
|
/// When reexporting this function, make sure the anonymous lifetimes are not rendered.
|
|
|
|
///
|
|
|
|
/// https://github.com/rust-lang/rust/issues/98697
|
|
|
|
pub fn repro<F>()
|
|
|
|
where
|
|
|
|
F: Fn(&str),
|
|
|
|
{
|
|
|
|
unimplemented!()
|
|
|
|
}
|
2022-07-05 00:19:53 -05:00
|
|
|
|
|
|
|
pub struct Extra;
|
|
|
|
|
|
|
|
pub trait MyTrait<T> {
|
|
|
|
fn run() {}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl MyTrait<&Extra> for Extra {}
|