mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-05 05:04:24 +00:00
18 lines
305 B
Rust
18 lines
305 B
Rust
/// 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!()
|
|
}
|
|
|
|
pub struct Extra;
|
|
|
|
pub trait MyTrait<T> {
|
|
fn run() {}
|
|
}
|
|
|
|
impl MyTrait<&Extra> for Extra {}
|